Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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
add comment

1 Answer

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

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

PATH=$PATH:~/.local/bin

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
add comment

Your Answer

 
discard

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.