Python Virtual Environment installation configuration graphic tutorial,

Source: Internet
Author: User
Tags install django virtualenv

Python Virtual Environment installation configuration graphic tutorial,

Use pip to install virtualenv

Because it has been installed, it is shown as follows:

Here I would like to recommend that you install the class library with the Douban source later. The installation speed is very fast, because access to the official pypi source in China is very slow, and pip installation packages often encounter errors.

Douban Source

Let me demonstrate how to install django.

We can see that the speed is very fast.

All right, go back to the virtual environment and install virtualenv scrapytest (Environment name)

After installation, enter activate. bat to enter the virtual environment and enter python. Check that the current python version is 2.7.


Exit the virtual environment: Enter deactivate. bat

Multi-version Virtual Environment installation, because development requires the computer and python3 version

Enter virtualenv-p D: \ develop \ python3 \ python.exe scrapypy3 (name)

Installed successfully. Version 3.5

However, this operation is very troublesome and inconvenient. We recommend that you use the management tool mkvirtualenvwrapper.

Install pip install virtualenvwrapper

After installation: Enter workon

View the List Directory

The above python Virtual Environment installation and configuration text tutorial is a small series to share with you all the content, I hope to give you a reference, but also hope you can support a lot of homes.

Related Article

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: 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.