Home  >  Article  >  Backend Development  >  Detailed introduction to setting up python development environment ywreport

Detailed introduction to setting up python development environment ywreport

高洛峰
高洛峰Original
2017-03-28 17:01:551436browse

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!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn