http errors when installing libraries behind an organisation's firewall

79 views
Skip to first unread message

Lindsay Fowler

unread,
May 31, 2021, 12:09:11 PM5/31/21
to spyder
Hi All,
The school I work at has Anaconda Navigator installed on all the student's laptops which is great, but the package manager does not work. http errors and SSL errors prevent packages such as TensorFlow and Open CV from installing, though internet conectivity exists.
The school's network admins have twice claimed they don't block anything to do with Anaconda.
How does this work in the background? I see a script window appearing. What kind of connection is made that might be blocked by the school's firewall and is there a way around it?

We tried this commandline suggestion with some success, but it didn't work for half the packages:

pip install --trusted-host pypi.org --trusted-host pypi.python.org --trusted-host files.pythonhosted.org pygame


 Any ideas?
Thank you

yfprojects

unread,
Jun 1, 2021, 3:35:36 AM6/1/21
to spyder
Hello,
The first problem you mentioned seems to relate to the Anaconda Navigator, not Spyder. Besides that I don't know why these errors occur. Maybe Anaconda wasn't properly installed with a ssl module missing. This seems to be the case on this stackoverflow thread.
In general it is quite helpful to know the exact error message if an error is raised. This is also true for your second issue. What did go wrong when installing the packages using pip?

Kind regards
yfprojects
Reply all
Reply to author
Forward
0 new messages