First, install virtualenv
- Clicking on the left side of the menu bar most input cmd, open a command line
2. The different versions of commands input pip install virtualenv ( or pip3 install virtualenv)
3. To enter the path to the virtual environment of space you want to create, and then create a file, ( Note: I am in my E disk python creates a file in the file called dcjvirtual )
4. enter dcjvirtual file, use dir (virtual machine is a command LS ) lists all files
5. enter dcjvirtual the file Scripts file, with dir open command shown in the following figure:
7. activate it
6. Then exit the virtual execution environment can be friends! ! ! Deactivate.bat