Why when I using pip list
I am receiving libraries list, but then i am checking in Pycharm, I have view more there for my project.
It means that using install pip
I am installing libraries for all projects, but from Pycharm (in settings) only for selected project?
In PyCharm, you work in a Virtual Environment also known as venv . Installing packages there will not be installed globally.
For eg
In Pycharm, if you run pip install tabulate
and then try importing tabulate
outside PyCharm, it will show an ImportError
and vice-versa
If you want to install that package for all projects , turn on Make available to all projects in project settings or while creating a new project.
To install package outside it, you will need to run pip install <package-name>
in Command Prompt
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.