Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #77428
| Date | 2014-09-02 12:06 +1000 |
|---|---|
| From | Cameron Simpson <cs@zip.com.au> |
| Subject | Re: Define proxy in windows 7 |
| References | <5405157E.3030508@gmail.com> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.13705.1409625357.18130.python-list@python.org> (permalink) |
On 02Sep2014 06:25, Om Prakash <torque.india@gmail.com> wrote: > >I am wondering how to define proxy setting in env variable on windows >7, I want this so i can use pip to pull packages for me, the same >setting though working earlier on windows xp. > >http_proxy = "proxy name:80" > >now this same setting doesn't work, i tried doing in the cmd.exe prompt. > >set http_proxy "proxy name:80" > >P.S. i am a normal user and don't have admin privleges. I am not a Windows user, but on UNIX systems the format of http_proxy and https_proxy is: http://proxyname:3128/ being the proxy hostname and port number respectively. You're saying: proxyname:8080 instead. (Note, https_proxy _also_ starts with "http:", not "https:" because the communication with the proxy is HTTP.) Try the longer form. And ensure you have the port number right; proxies do not normally listen on port 80; they tend to listen on port 3128 or 8080. Cheers, -- To understand recursion, you must first understand recursion.
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Re: Define proxy in windows 7 Cameron Simpson <cs@zip.com.au> - 2014-09-02 12:06 +1000
csiph-web