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

Right, fairly new here but here goes:

I'm trying to install pip (python installer) to my username since I don't have root privileges and can't just sudo apt-get install python-pip.

So what I've done is just easy_install --user pip. That installs it to .local/bin apparently but then when I call it like so:

pip install --user astropy

It says that pip is not currently installed.

I have limited knowledge of linux and of the system I'm using (NX connection to a machine at my university). I know I should be able to do this!

Any ideas? Thanks

share|improve this question
If easy_install is not available, you can install pip to local with wget && python --user – JorgeGT Nov 2 '14 at 18:51

I hope I'm right and the problem is with your PATH, try this

You can add this to your ~/.bashrc file:


If you don't know how, you can just execute this line in a Terminal:

echo "PATH=\$PATH:~/.local/bin" >> ~/.bashrc

You can also check what's in your PATH by typing in the Terminal

echo $PATH
share|improve this answer
Don't forget to source ~/.bashrc for the change to make effect! – JorgeGT Nov 2 '14 at 18:49

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.