I\'m in Kubuntu 14.04 , I want to create a virtualenv with python3.4. I did with python2.7 before in other folder. But when I try:
pyvenv-3.4 venv
Same problem on Linux Mint 17 (which is basically Ubuntu 14.04). Installing python3.4-venv
didn't work, so I created virtualenv without pip and then installed pip manually.
Create virtualenv and activate it
python3 -m venv --without-pip foo
source foo/bin/activate
Download latest versions of setuptools
and pip
:
wget https://pypi.python.org/packages/source/s/setuptools/setuptools-7.0.tar.gz#md5=6245d6752e2ef803c365f560f7f2f940
wget https://pypi.python.org/packages/source/p/pip/pip-1.5.6.tar.gz#md5=01026f87978932060cc86c1dc527903e
Unpack and install them
tar xf setuptools-7.0.tar.gz
tar xf pip-1.5.6.tar.gz
cd setuptools-7.0
python setup.py install
cd ../pip-1.5.6
python setup.py install