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


Groups > comp.lang.python > #77428

Re: Define proxy in windows 7

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.kamp.net!newsfeed.kamp.net!feeder1.cambriumusenet.nl!feed.tweaknews.nl!194.109.133.87.MISMATCH!newsfeed.xs4all.nl!newsfeed1.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <cameron@cskk.homeip.net>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.006
X-Spam-Evidence '*H*': 0.99; '*S*': 0.00; 'windows': 0.15; '(note,': 0.16; 'from:addr:cs': 0.16; 'from:addr:zip.com.au': 0.16; 'from:name:cameron simpson': 0.16; 'hostname': 0.16; 'message- id:@cskk.homeip.net': 0.16; 'prakash': 0.16; 'received:211.29': 0.16; 'received:211.29.132': 0.16; 'received:cskk.homeip.net': 0.16; 'received:homeip.net': 0.16; 'received:optusnet.com.au': 0.16; 'received:syd.optusnet.com.au': 0.16; 'right;': 0.16; 'subject:proxy': 0.16; 'subject:windows': 0.16; 'wrote:': 0.18; 'variable': 0.18; 'normally': 0.19; 'starts': 0.20; 'work,': 0.20; 'admin': 0.22; 'header:User-Agent:1': 0.23; 'instead.': 0.24; 'proxy': 0.24; 'tend': 0.24; 'earlier': 0.24; 'cheers,': 0.24; 'define': 0.26; 'header:In-Reply-To:1': 0.27; 'tried': 0.27; 'wondering': 0.29; 'unix': 0.29; "doesn't": 0.30; 'url:non- standard http port': 0.33; 'form.': 0.35; 'but': 0.35; 'received:com.au': 0.36; 'doing': 0.36; 'charset:us-ascii': 0.36; 'being': 0.38; 'received:211': 0.38; 'to:addr:python-list': 0.38; 'to:addr:python.org': 0.39; 'how': 0.40; 'ensure': 0.60; "you're": 0.61; 'first': 0.61; 'content-disposition:inline': 0.62; 'user,': 0.69; 'env': 0.84; 'recursion,': 0.84; 'saying:': 0.84
Date Tue, 2 Sep 2014 12:06:20 +1000
From Cameron Simpson <cs@zip.com.au>
To python-list@python.org
Subject Re: Define proxy in windows 7
MIME-Version 1.0
Content-Type text/plain; charset=us-ascii; format=flowed
Content-Disposition inline
In-Reply-To <5405157E.3030508@gmail.com>
User-Agent Mutt/1.5.21 (2010-09-15)
References <5405157E.3030508@gmail.com>
X-Optus-CM-Score 0
X-Optus-CM-Analysis v=2.1 cv=fvDlOjIf c=1 sm=1 tr=0 a=YuQlxtEQCowy2cfE5kc7TA==:117 a=YuQlxtEQCowy2cfE5kc7TA==:17 a=ZtCCktOnAAAA:8 a=PO7r1zJSAAAA:8 a=LcaDllckn3IA:10 a=CSfL-Vx2cYIA:10 a=8P3nMm4y3u8A:10 a=kj9zAlcOel0A:10 a=vrnE16BAAAAA:8 a=pGLkceISAAAA:8 a=9vgkpUwaVgHIYeoHX0UA:9 a=TeLX6iel-cpeX73O:21 a=lBjCODVG6jItNA9d:21 a=CjuIK1q_8ugA:10 a=MSl-tDqOz04A:10
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.13705.1409625357.18130.python-list@python.org> (permalink)
Lines 33
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1409625357 news.xs4all.nl 2840 [2001:888:2000:d::a6]:51608
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:77428

Show key headers only | View raw


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


Thread

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

csiph-web