I use PyCharm and all the initial settings are okay.Simple package installation is working. Then why do I need to reinstall a package for each project? Is there any way to install the packages for all projects from now on?
相关问题
- how to define constructor for Python's new Nam
- streaming md5sum of contents of a large remote tar
- How to get the background from multiple images by
- Evil ctypes hack in python
- Correctly parse PDF paragraphs with Python
This is depending on your project settings, the project interpreter to be specific.
The project interpreter can be set to one of the following:
virtual environment
virtual environment
associated with a projectNow the approach I'd recommend would be to create a shared
virtual environment
where you install your packages to, and use this environment for all your project.That way, you have the desired result of needing to install your packages only once, but still have an environment isolated from your system environment.
To create such an environment, follow these steps: