I really like the ease of use of pipenv. But I'm still trying to find my way.
One thing I can't find in pip where I can set the proxy option:
--proxy
As I often need to work behind a firewall at my workplace (a school).
something like:
pipenv --proxy myproxy
Thanks.
I think i would be a long time for pipenv to support it beause pip doesn't support proxy setting.
However, exporting the http_proxy environment variable can do the same thing(before running pipenv).
$ export http_proxy=your_server:port
$ export https_proxy=your_server:port
@ivechan pip does support installing from proxy if you pass it --proxy
. @nateprewitt @techalchemy Thoughts about adding a proxy section to the pipfile spec?
@erinxocon I feel like @kennethreitz wanted to keep as few things as possible in the Pipfile and kept pushing people to set up their pip.conf or pip.ini for things like this. However, that would mean we will have to figure out how to respect those settings for pip-tools as well, and I am not sure how that would work.
@techalchemy That's what I was thinking. We could use config files in the root of the project directory, but pip-tools doesn't currently respect that in our code.
@erinxocon @techalchemy imo we need to respect pip.conf and the fact we aren't is a problem because we're rebuilding a lot of functionality pip should already handle (better) for us. We don't need the file to be in the directory, it's noted by a env variable or the default path established by pip. We just need to add a patch for pip-tools to respect it if it's not.
Also we definitely do not want a proxy entry in the Pipfile, that's user specific and isn't necessarily required. Anything that's system/instance specific should be left on the origin machine.
not being supported, currently
@kennethreitz would you accept a pull request to support this? imho npm
has the ideal method:
npm config set https-proxy http://someproxy:8443
That way you can set it and forget it. Unlike pip where you need to use an alias to always add the proxy.
any update on this?
I would also be interested to hear more about this...
Any updates on this issue?
I might as well bumb this again. Any updates?
Right now I can put my proxy in ~/pip/pip.conf or ~/pip/pip.ini (linux or windows). But it would be much better if I just could add my proxy in the pipfile.
Any updates? 馃
Is there any update? What is the current workaround?
Any updates?
I will say something new: any updates ?
Most helpful comment
Any updates on this issue?