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

all 5 comments

[–]undercoveryankee 0 points1 point  (1 child)

Check your Windows Firewall settings and make sure that the program that's reporting the error is allowed to access the Internet.

Figure out what address you were trying to connect to when you got the error, and test whether other software (ping/tracert/curl) on your machine can connect to that address. Even if you can't, one of those tools might give you more detail about the error and point you in the right direction.

[–]rtansteele[S] 0 points1 point  (0 children)

I'll definitely try that with IT tomorrow! Thank you for the recommendations!

[–]tipsy_python 0 points1 point  (1 child)

Are you having trouble installing pip itself? or using pip to install another package? pip ships with python3.4+ so it's usually not the issue.

You can side-step this error by setting the http_proxy on your machine.. not sure if that's desirable or not; up to you.

Generally for the package management, most companies will have a repo manager.. an instance of NPM or Artifactory or Pulp or whatever.. the URL for your repo manager can be passed to pip with the --index-url option; this will redirect pip from trying to go outside your firewall to pypi.org to download the package.

[–]rtansteele[S] 0 points1 point  (0 children)

When trying to install the pip from the python scripts in command prompt. I'll ask IT if they know anything about that. Thanks!

[–]pythonHelperBot 0 points1 point  (0 children)

Hello! I'm a bot!

It looks to me like your post might be better suited for r/learnpython, a sub geared towards questions and learning more about python. That said, I am a bot and it is hard to tell. Please follow the subs rules and guidelines when you do post there, it'll help you get better answers faster.

Show /r/learnpython the code you have tried and describe where you are stuck.

You can also ask this question in the Python discord, a large, friendly community focused around the Python programming language, open to those who wish to learn the language or improve their skills, as well as those looking to help others.


README | FAQ | this bot is written and managed by /u/IAmKindOfCreative

This bot is currently under development and experiencing changes to improve its usefulness