Create a virtual development environment virtualenv for python3.6

In order to ensure the relative independence of each project environment and plug-ins, virtualenv is used as the virtual running environment of python, which reduces the time spent on dependent packages in terms of project maintenance.

1. Install the virtualenv virtual environment plugin

pip install virtualenv

 

2. To operate virtualenv, you need to enter the script of the directory, which is not very convenient. At this time, after another package is installed, you can manage the virtualenv globally:

pip install virtualenvwrapper-win

 

3. Create a virtual environment

mkvirtualenv oneenv

 

 

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325158328&siteId=291194637