Answer the question
In order to leave comments, you need to log in
How to install virtualenv?
Still new to Python. There are two versions of Python 2.6, Python 2.7.
Through 2.6 virtualenv the environment is normally installed. Through 2.7 there is no (I think because virtualenv is not installed specifically for version 2.7) such an error: importerror no module named _weakrefset Please
tell me how to install virtualenv for version 2.7
Answer the question
In order to leave comments, you need to log in
If you need to work with multiple versions of Python , I highly recommend pyenv .
If you are under *nix, then it is very simple to install:
But before that, it is desirable to install some dependencies that are necessary for Python compilations.
sudo apt-get install -y make build-essential libssl-dev zlib1g-dev libbz2-dev \
libreadline-dev libsqlite3-dev wget curl llvm
pyenv virtualenv 3.4.2 <name_of_venv>
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question