Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #77428 > unrolled thread

Re: Define proxy in windows 7

Started byCameron Simpson <cs@zip.com.au>
First post2014-09-02 12:06 +1000
Last post2014-09-02 12:06 +1000
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: Define proxy in windows 7 Cameron Simpson <cs@zip.com.au> - 2014-09-02 12:06 +1000

#77428 — Re: Define proxy in windows 7

FromCameron Simpson <cs@zip.com.au>
Date2014-09-02 12:06 +1000
SubjectRe: Define proxy in windows 7
Message-ID<mailman.13705.1409625357.18130.python-list@python.org>
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.

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web