Home > Article > Backend Development > Detailed introduction to setting up python development environment ywreport
Different Python projects require different dependent libraries
It is recommended that each project use its own virtual environment. Refer to the three major Python artifacts:
www.ziqiangxuetang.com/python/pip-virtualenv-fabric.html
I generally use the project independent use environment Method
The following takes the project ywreport as an example:
zy@BDC1:~$ mkvirtualenv ywreport (ywreport) zy@BDC1:~$ workon ywreport #默认安装的pip包如下: (ywreport) zy@BDC1:~$ pip list pip (8.1.2) setuptools (27.3.0) wheel (0.30.0a0)
pycharm creates a new django project and selects the virtual environment path. Dependent packages can also be installed using pycharm. Depending on personal habits, I use pip more easily.
The above is the detailed content of Detailed introduction to setting up python development environment ywreport. For more information, please follow other related articles on the PHP Chinese website!