4

I am trying to install pip without sudo. Reading the Install Docs, it appears to be possible to use --user to have it being installed in my home directory. After uninstalling pip from the global scope I tried python get-pip.py --user and obtain the following error:
PermissionError: [Errno 13] Permission denied: '/usr/local/lib/python3.5/dist-packages/wheel-0.29.0.dist-info'

Checking the Install Docs I found the following notice:
Be cautious if you're using a Python install that's managed by your operating system or another package manager. get-pip.py does not coordinate with those tools, and may leave your system in an inconsistent state.

Can I install pip into my home with the casual Ubuntu apt-get python? Or do I also need to build python locally?

1
  • 1
    Install from sources. Clone the repo and run python setup.py install --user. Commented Jul 4, 2017 at 10:00

1 Answer 1

2

As phd mentoined in the comment of my question, cloning pip and installing it via python setup.py install --user worked out fine.

Sign up to request clarification or add additional context in comments.

1 Comment

This may have been an Ubuntu issue (Python version or so), since under arch everything worked out fine right from the beginning.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.