Virtualenv is great, you should use it! However Ubuntu comes with an old virtualenv, including it's basic dependencies setuptools and pip. The latest version of virtualenv only includes setuptools and pip when you create a new venv so you want up to date versions of those in your global install.
Here's what I like to do to get a good setup.
First you need a basic version of setuptools:
sudo apt-get install python-setuptools
Now we want to install the latest verion of pip:
Download the .tar.gz from https://pypi.python.org/pypi/pip
tar -zxf pip-X.Y.Z.tar.gz
sudo python setup.py install
And then we use pip to install up to date versions of virtualenv and setuptools:
sudo pip install --upgrade setuptools virtualenv
You can now maintain this setup by regularly running:
sudo pip install --upgrade pip setuptools virtualenvShare on Twitter Share on Facebook
We’re happy and proud to announce that we’re opening a new studio in Malmö, Sweden.
Say hello to IOI Malmö.
6 days, 10 hours ago
@sarvikas Finally! :-)
1 week, 6 days ago
Lägg ut! Lägg UT! LÄGG UT!!! https://t.co/TiZunp9rle
2 weeks, 1 day ago