Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

can't pip install some software on s4 #10

Closed
johnjung opened this issue Jan 2, 2020 · 2 comments
Closed

can't pip install some software on s4 #10

johnjung opened this issue Jan 2, 2020 · 2 comments

Comments

@johnjung
Copy link
Owner

johnjung commented Jan 2, 2020

If I try to install software on s4 with pip, I get error messages like the following:

pip install docopt

Collecting docopt (from -r requirements.txt (line 1))
Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x807cdb2e8>, 'Connection to pypi.org timed out. (connect timeout=15)')': /simple/docopt/
...

Running pip install with the verbose flag shows me that I'm not able to download the following file: https://pypi.org/simple/docopt/

If I do "curl https://pypi.org/simple/docopt/" from s4, the command just hangs. But that same command from my local machine works fine. Can you tell what's going on here?

@fseatonuc
Copy link
Collaborator

s4 is on a private IP, so you'll need a proxy server. For an example, look at the gitconfig file on that server:

root@s4:~ # more /usr/local/etc/gitconfig 
[http]
        proxy = http://torus.lib.uchicago.edu:8080

@johnjung
Copy link
Owner Author

johnjung commented Jan 2, 2020

Thanks very much, Fred. That solves the problem.

@johnjung johnjung closed this as completed Jan 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants