I’m programming with Python and I’m working with PyCharm Community 2024.1 IDE under Linux Debian 10 (buster).
When I create a new project with a new virtual environment I get some packages despite I do not activate the “Inherite pakages from base interpreter” checkbox.
To create the new project I do:
New Project -> I specify the name of the project and the project path -> click on Custom environment -> click on radio button “Generate new” -> Select “Virtualenv” as Type -> select the interpreter (/usr/local/python3.9) -> select the venv location (same as the project path).
I do not activate “Inherite pakages from base interpreter”
I do not activate “Make available to all projectsd”.
Then I click create.
It takes about 20s to create the project.
Now, if I take a look to: File -> Settings -> Project -> Python Interpreter
I can see some packages already installed, there are about 100 packages.
I thought that when we create a new project with a new venv, it was normally empty.
After a short look at the list, it seems that these packages are correlate to ROS packages installed on my system. But I do not know why they appear in my new venv.
If I check the box “Inherite pakages from base interpreter” I get the same result.
Do you have any idea ?
Thank you very much.
Nixies is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.