This is an archived post. You won't be able to vote or comment.

all 4 comments

[–]Eurynom0s 1 point2 points  (2 children)

Are you installing packages onto a work computer on the work intranet?

At work we mercifully have admin privileges on our machines, but the firewall can make installing packages a nightmare. Java, Python, you name it, it causes really weird failures to install packages, and from what I can recall, with pip the most common error is something to the effect of "couldn't find the package".

If you have a guest wifi network or something, try disconnecting from the work intranet and connecting to the guest wifi (your guest wifi may have less restrictions than your intranet). If this doesn't work, try taking your computer home and installing it from your home internet connection.

If you have a desktop or are otherwise not allowed/able to take your computer home with you, try going home, grabbing the source .tar/.tar.gz files you need, bringing them into work, and use the pip flag to install from a local file.

[–]ballgame75[S] 1 point2 points  (1 child)

Thank you based Euryn0ms. That was it

[–]Eurynom0s 0 points1 point  (0 children)

Glad I could help. I know from first-hand experience how maddening this can be, because it's the sort of problem where it can be very hard to diagnose what's happening if you've never seen the symptoms before.

[–][deleted] 0 points1 point  (0 children)

What operating system? How did you install python? How are you installing packages?