Operating system: windowns10_x64 Python version: 3.6.8 Method 1: Use virtualenv directly 1. Installation 2. Create a virtual environment 3. Start the virtual environment 4. Exit the virtual environment If you need to delete the virtual environment, just delete py36env. Method 2: Using virtualenvwrapper 1. Installation 2. Set the environment variable WORKON_HOME to specify the default path of the virtualenvwrapper virtual environment For example, set it to c:\venv and create the venv directory. If not set, the relevant folders will be automatically created in the current user directory. 3. Create a virtual environment 4. View all virtual environments and start virtual environments 5. Exit the virtual environment If you need to delete the virtual environment, execute the following command: This article's github address: https://github.com/mike-zhang/mikeBlogEssays/blob/master/2019/20191026_Use virtualenv under windows.rst Summarize The above is the way I introduced to you to use virtualenv to create a virtual environment under Windows. I hope it will be helpful to you! You may also be interested in:
|
<<: How to store text and pictures in MySQL
>>: How to preview pdf file using pdfjs in vue
When using MySQL 5.7, you will find that garbled ...
Table of contents 1. The origin of tomcat 1. Tomc...
Table of contents 1 Indicators in stress testing ...
There is a new build tool in the Vue ecosystem ca...
Origin: A few days ago, a tester sent a requireme...
Table of contents 1. Component Registration 2. Us...
What is k3d? k3d is a small program for running a...
1. Introduction Since pictures take up a lot of s...
The following is the code for building an ssh ser...
Table of contents pom configuration Setting.xml c...
This article shares with you a book flipping effe...
What is a stored procedure Simply put, it is a se...
Common Convention Tags Self-closing tags, no need...
question: When developing the Alice management sy...
Hello everyone, I am Liang Xu. When using Linux, ...