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

Add better documentation for "proxy" #512

Closed
guettli opened this issue Apr 19, 2012 · 5 comments · Fixed by #5574
Closed

Add better documentation for "proxy" #512

guettli opened this issue Apr 19, 2012 · 5 comments · Fixed by #5574
Labels
auto-locked Outdated issues that have been locked by automation C: proxy Dealing with proxies and networking type: docs Documentation related

Comments

@guettli
Copy link

guettli commented Apr 19, 2012

If you search for "proxy" in the docs, you get no result. Just one News entry contains this word.

http://www.pip-installer.org/en/latest/search.html?q=proxy&check_keywords=yes&area=default

There needs to be a documentation how to use pip behind a proxy.

@carljm
Copy link
Contributor

carljm commented Apr 20, 2012

Indeed - patch welcome!

@pnasrat
Copy link
Contributor

pnasrat commented May 13, 2012

There are some great docs here, which I've asked if we can rework into pip. Mainly to cover cases for those using proxies with SCM tool

http://laurii.info/2010/11/using-pip-behind-proxy/comment-page-1/#comment-16345

@qwcode
Copy link
Contributor

qwcode commented Jan 19, 2013

the latest version returns something for a search on "proxy", a hit on the global --proxy option
http://www.pip-installer.org/en/latest/usage.html?highlight=proxy

is there anything more to it than using this option?
we could add another example to the pip install examples section (which has 21 entries and growing now)
http://www.pip-installer.org/en/latest/usage.html?#examples

@pekkaklarck
Copy link
Contributor

Having a section explaining how to use pip behind a proxy would be great. I love how pip makes installing packages easy and as a result also makes it easier to distribute packages. The problem for me is that lot of my users work in corporate environments and are behind proxies.

Currently only --proxy option is briefly documented, but there are also other ways how to make proxy work. I'm willing to write and contribute better documentation, but the problem is that I don't know how pip handles proxies in different situations myself. Below are some questions related to this:

  1. What environment variables are supported? http_proxy, https_proxy, both, or something else?

  2. Is pip able to sniff proxy configuration automatically from system configs on Windows and OSX? That's supported by urllib2, but I'm not certain does pip use it anymore.

  3. How to configure proxy when installing pip itself? Do ez_setup.py and get-pip.py support proxies somehow?

@xavfernandez xavfernandez added the C: proxy Dealing with proxies and networking label Oct 7, 2015
@dstufft dstufft changed the title No documentation for "proxy" Add better documentation for "proxy" Mar 22, 2017
javabrett added a commit to javabrett/pip that referenced this issue Jul 10, 2018
Signed-off-by: Brett Randall <javabrett@gmail.com>
@lock
Copy link

lock bot commented Jun 2, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot added the auto-locked Outdated issues that have been locked by automation label Jun 2, 2019
@lock lock bot locked as resolved and limited conversation to collaborators Jun 2, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
auto-locked Outdated issues that have been locked by automation C: proxy Dealing with proxies and networking type: docs Documentation related
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants