Python virtual environment + win7-64 bit installation scipy matplotlib

Source: Internet
Author: User
Tags virtual environment virtualenv

Windows:

1, cmd under the installation of Pip Virtualenv

Pip Install Virtualenv

2. Create a virtual environment:

CD My_project_folder

Virtualenv venv #可以指定Python解释器, $ virtualenv-p/usr/bin/python2.7 venv, which will be used /usr/bin/python2.7 in the Python interpreter.

3. Activating the virtual environment:

C:\python27\scripts\env\scripts>activate.bat

4. Install packages as usual, such as:

PIP Install requests

5. If you have temporarily completed your work in a virtual environment, you can deactivate it:

Deactivate

Install Scipy,matplotlib on Windows

Installing with PIP install is unsuccessful

Perform a download installation

Unofficial Windows Binaries for Python Extension Packages

Http://www.lfd.uci.edu/~gohlke/pythonlibs/download Page #

Scipy-0.19.0-cp27-cp27m-win32.whl

Matplotlib-1.5.3-cp27-cp27m-win32.whl

Installation method: go to python27\scripts, run pip install SCIPY-0.19.0-CP27-CP27M-WIN32.WHL

Reference:

Http://pythonguidecn.readthedocs.io/zh/latest/dev/virtualenvs.html

Http://www.cnblogs.com/IDRI/p/6354237.html

Python virtual environment + win7-64 bit installation scipy matplotlib

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