How to use the Virtualenv Python Environment management tool in Windows environment

Source: Internet
Author: User
Tags virtualenv

1. Installation Tools

Install virtualenv

2. Create a new project folder and install the environment within the folder and name it my_env, join

Virtualenv C:\Users\yxx\wp\my_env

3, activation my_env environment, at this time my_env is already a folder, Windows words find under this folder scripts activate command, into the my_env directly execute on the line, Linux is the bin directory

Activate

4, after the entry can follow other modules, such as Django

Note always keep in the my_env environment, the command line is preceded by a prompt, and if you exit, re-locate the command to activate Jack

How to use the Virtualenv Python Environment management tool in Windows environment

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.