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