Virtualenv&virtualenvwrapper on Windows&ubuntu

Source: Internet
Author: User
Tags virtualenv

Pip Install Virtualenv

Pip Install Virtualenvwrapper-win

Lsvirtualenv

Mkvirtualenv env27

Deactivate

Mkvirtualenv-p C:\Python35\python.exe Env35

Deactivate

Workon Env35


----------------------------------------------------------------------------------------

----------------------------------------------------------------------------------------


Pip Install Virtualenv

Pip Install Virtualenvwrapper

mkdir $HOME/.virtualenvs

Vim ~/.BASHRC

Add to:

Export Workon_home= $HOME/.virtualenvs

source/root/local/bin/virtualenvwrapper.sh

Save return

SOURCE ~/.BASHRC

Workon

Lsvirtualenv

Mkvirtualenv env27

Deactivate

Cd.. /

Mkdir/download

Cd/download

wget https://www.python.org/ftp/python/3.5.0/Python-3.5.0.tgz

TAR-ZXVF python-3.5.0.tgz

mkdir ~/python35

CD python-3.5.0/

./configure--prefix=/root/python35

Make

Make install

CD ~/.virtualenvs/

Mkvirtualenv-p/root/python35/bin/python3.5 Env35

Deactivate



Virtualenv&virtualenvwrapper on Windows&ubuntu

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.