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


Groups > comp.lang.python > #73711

Re: why i can't install ez_setup

Path csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!rt.uk.eu.org!newsfeed.xs4all.nl!newsfeed1.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <python-python-list@m.gmane.org>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.000
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; 'offline': 0.03; 'url:pypi': 0.03; 'from:addr:yahoo.co.uk': 0.04; 'skip:[ 20': 0.04; '(b)': 0.07; 'skip:\\ 20': 0.07; '[],': 0.09; 'exit': 0.09; 'lawrence': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'python': 0.11; 'language.': 0.14; "('',": 0.16; 'ez_setup.py': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'skip:[ 30': 0.16; 'skip:[ 50': 0.16; 'subject:install': 0.16; 'url:packages': 0.16; 'url:py': 0.16; 'url:setuptools': 0.16; 'exception': 0.16; 'sat,': 0.16; 'language': 0.16; 'wrote:': 0.18; 'trying': 0.19; 'command': 0.22; '>>>': 0.22; 'install': 0.23; 'header:User-Agent:1': 0.23; '(a)': 0.24; '---': 0.24; 'skip:" 30': 0.26; 'header:X-Complaints-To:1': 0.27; 'header:In-Reply- To:1': 0.27; 'chris': 0.29; 'generally': 0.29; 'raise': 0.29; 'returned': 0.30; "skip:' 10": 0.31; 'file': 0.32; 'url:python': 0.33; '(most': 0.33; 'url:source': 0.33; 'skip:_ 10': 0.34; 'skip:d 20': 0.34; 'skip:s 30': 0.35; 'url:org': 0.36; 'wrong': 0.37; 'remote': 0.38; 'to:addr:python-list': 0.38; 'pm,': 0.38; 'recent': 0.39; 'subject:can': 0.39; 'to:addr:python.org': 0.39; 'either': 0.39; 'received:org': 0.40; 'free': 0.61; 'viruses': 0.61; 'protection': 0.63; 'skip:n 10': 0.64; 'our': 0.64; 'zip': 0.64; 'skip:\xe2 10': 0.65; 'antivirus': 0.68; 'skip:w 40': 0.68; '8bit%:43': 0.74; ',the': 0.84; '3.4': 0.84; 'skip:. 50': 0.84; 'url:zip': 0.84
X-Injected-Via-Gmane http://gmane.org/
To python-list@python.org
From Mark Lawrence <breamoreboy@yahoo.co.uk>
Subject Re: why i can't install ez_setup
Date Sat, 28 Jun 2014 18:24:21 +0100
References <tencent_09B6C1417D2468E25887FD86@qq.com> <CAMw+j7KsYo9+CXq0Lrx85PSrAj33OH0tKmx+CXHZ=QMb2rsNAw@mail.gmail.com>
Mime-Version 1.0
Content-Type text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding 8bit
X-Gmane-NNTP-Posting-Host host-92-18-5-57.as13285.net
User-Agent Mozilla/5.0 (Windows NT 6.1; rv:24.0) Gecko/20100101 Thunderbird/24.6.0
In-Reply-To <CAMw+j7KsYo9+CXq0Lrx85PSrAj33OH0tKmx+CXHZ=QMb2rsNAw@mail.gmail.com>
X-Antivirus avast! (VPS 140628-0, 28/06/2014), Outbound message
X-Antivirus-Status Clean
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.11313.1403976274.18130.python-list@python.org> (permalink)
Lines 69
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1403976274 news.xs4all.nl 2975 [2001:888:2000:d::a6]:57632
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:73711

Show key headers only | View raw


On 28/06/2014 16:36, Chris “Kwpolska” Warrick wrote:
> On Sat, Jun 28, 2014 at 1:49 PM, 水静流深 <1248283536@qq.com> wrote:
>> I have downloaoded ez_setup.py ,when i install it ,the wrong message:
>>
>>> python  d:\ez_setup.py
>> Downloading
>> https://pypi.python.org/packages/source/s/setuptools/setuptools-5.2.
>> zip
>> Exception calling "DownloadFile" with "2" argument(s): "Unable to connect to
>> th
>> e remote server"
>> At line:1 char:152
>> + [System.Net.WebRequest]::DefaultWebProxy.Credentials =
>> [System.Net.Credential
>> Cache]::DefaultCredentials; (new-object System.Net.WebClient).DownloadFile
>> <<<<
>>   ('https://pypi.python.org/packages/source/s/setuptools/setuptools-5.2.zip',
>> 'C
>> :\\Users\\pengsir\\setuptools-5.2.zip')
>>      + CategoryInfo          : NotSpecified: (:) [],
>> MethodInvocationException
>>      + FullyQualifiedErrorId : DotNetMethodException
>>
>> Traceback (most recent call last):
>>    File "d:\ez_setup.py", line 332, in <module>
>>      sys.exit(main())
>>    File "d:\ez_setup.py", line 327, in main
>>      downloader_factory=options.downloader_factory,
>>    File "d:\ez_setup.py", line 287, in download_setuptools
>>      downloader(url, saveto)
>>    File "d:\ez_setup.py", line 192, in download_file_powershell
>>      _clean_check(cmd, target)
>>    File "d:\ez_setup.py", line 169, in _clean_check
>>      subprocess.check_call(cmd)
>>    File "d:\Python27\lib\subprocess.py", line 540, in check_call
>>      raise CalledProcessError(retcode, cmd)
>> subprocess.CalledProcessError: Command '['powershell', '-Command',
>> "[System.Net.
>> WebRequest]::DefaultWebProxy.Credentials =
>> [System.Net.CredentialCache]::Default
>> Credentials; (new-object
>> System.Net.WebClient).DownloadFile('https://pypi.python
>> .org/packages/source/s/setuptools/setuptools-5.2.zip',
>> 'C:\\\\Users\\\\pengsir\\
>> \\setuptools-5.2.zip')"]' returned non-zero exit status 1
>>
>> what is wrong with it?
>
> Either (a) pypi, or (b) you were offline when trying to install.
>
> Also, you generally want to use get-pip.py instead, it will also get
> you pip in addition to setuptools:
>
> https://bootstrap.pypa.io/get-pip.py
>

Or get Python 3.4 which can get pip for you if you so desire.

-- 
My fellow Pythonistas, ask not what our language can do for you, ask 
what you can do for our language.

Mark Lawrence

---
This email is free from viruses and malware because avast! Antivirus protection is active.
http://www.avast.com

Back to comp.lang.python | Previous | NextNext in thread | Find similar | Unroll thread


Thread

Re: why i can't install ez_setup Mark Lawrence <breamoreboy@yahoo.co.uk> - 2014-06-28 18:24 +0100
  Re: why i can't install ez_setup Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2014-06-28 18:15 +0000
    Re: why i can't install ez_setup Mark Lawrence <breamoreboy@yahoo.co.uk> - 2014-06-28 20:07 +0100

csiph-web