Skip to content

pip3 have to re-download packages after Permission denied (no sudo) #4692

@cryptogun

Description

@cryptogun
  • Pip version: pip 9.0.1
  • Python version: python 3.5
  • Operating system: Linux Mint 4.4.0-45-generic # 66-Ubuntu SMP Wed Oct 19 14:12:37 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

Description:

I forget to sudo pip and it takes 30 minutes downloading scipy. Then permission denied...
Now I have to spend another 30 minutes to re-install with sudo.
scipy 47.9MB 27kB/s

What I've run:

pip3 install doc2text

Installing collected packages: PyPDF2, scipy, pytesseract, future, mime, doc2text
  Running setup.py install for PyPDF2 ... error
    error: could not create '/usr/local/lib/python3.5/dist-packages/PyPDF2': Permission denied

Metadata

Metadata

Assignees

No one assigned

    Labels

    auto-lockedOutdated issues that have been locked by automationtype: supportUser Support

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions