Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I had a Ubuntu 12.04 system which I eventually managed to get Python 2.7 and Python 3.2 working together (with pip and pip3) and Python 3.3 (with pip3.3) for good measure.

I've recently upgraded to Ubuntu 14.04 and have decided to take advantage of the python3-pip package. I've also upgrade my python3 package to install Python 3.4.

All I really want is to be able to use python (python2) and python3 as well as do package management using pip and pip3. Which of the following files and directories can I delete to make this installation less messy and confusing?





Also, both pip and pip3 are currently version 1.5.4, how can I update them both to version 1.5.6 without screwing anything up?

share|improve this question

I would personally leave Ubuntu's Python alone.
Use virtualenv (with --no-site-packages) for development.

It all feels pretty weird and a little stressful when you begin but seriously, not bumping into system conflicts and or having your entire Python stack break when you do a release upgrade... It's a million times nicer.

Some people go for one virtualenv per project. I like to keep mine together because it forces me to maintain old code. I can't let Django 1.1 projects exist because they aren't compatible with my Django 1.5 environment.

The obvious exception to any of this is developing for Ubuntu ... but then you really need to rely on Ubuntu-shipped packages (or include libraries in your package).

share|improve this answer
Not so simple if you want to use packages like PyQt. – Valentas Apr 4 at 9:40
@Valentas Sure. Not impossible but there are several ways you can cheat… and you still get a nice local environment. – Oli Apr 4 at 10:27
@Valentas You can just symlink the PyQt libraries into the virtualenv. – edwinksl May 27 at 4:07

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.