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


Groups > comp.lang.python > #73707

why i can't install ez_setup

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!goblin1!goblin2!goblin.stu.neva.ru!newsfeed.xs4all.nl!newsfeed4a.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <1248283536@qq.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.061
X-Spam-Evidence '*H*': 0.88; '*S*': 0.00; 'url:pypi': 0.03; 'skip:[ 20': 0.04; 'skip:\\ 20': 0.07; '[],': 0.09; 'exit': 0.09; "('',": 0.16; 'ez_setup.py': 0.16; 'skip:[ 30': 0.16; 'skip:[ 50': 0.16; 'subject:install': 0.16; 'url:packages': 0.16; 'url:setuptools': 0.16; 'exception': 0.16; 'command': 0.22; 'install': 0.23; 'skip:" 30': 0.26; 'raise': 0.29; 'returned': 0.30; "skip:' 10": 0.31; 'file': 0.32; 'url:python': 0.33; '(most': 0.33; 'to:name:python- list': 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; 'skip:& 10': 0.38; 'to:addr:python-list': 0.38; 'recent': 0.39; 'subject:can': 0.39; 'to:addr:python.org': 0.39; 'subject: ': 0.61; 'from:charset:utf-8': 0.61; 'skip:n 10': 0.64; 'zip': 0.64; 'skip:w 40': 0.68; ',the': 0.84; 'from:addr:1248283536': 0.84; 'from:addr:qq.com': 0.84; 'message-id:@qq.com': 0.84; 'received:qq.com': 0.84; 'skip:. 50': 0.84; 'url:zip': 0.84; 'x-mailer:qqmail 2.x': 0.84; '\xe2\x80\x8d': 0.84
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=qq.com; s=s201307; t=1403956151; bh=HT77wsrQW3Gfc57EAs6XkzeZDeuwxwVJdgaZAppjjhw=; h=X-QQ-FEAT:X-QQ-SSF:X-HAS-ATTACH:X-QQ-BUSINESS-ORIGIN: X-Originating-IP:X-QQ-STYLE:X-QQ-mid:From:To:Subject:Mime-Version:Content-Type:Content-Transfer-Encoding:Date: X-Priority:Message-ID:X-QQ-MIME:X-Mailer:X-QQ-Mailer: X-QQ-SENDSIZE; b=L1rI/CWFfF4s3qL4a1U3qgLtWOQ0xhcZCQWsyf1OB2mQcgrs/PVQpyTaij12gMhlO q3Gr16qg2fgW+y76sGCIz74yiQbWzX+mHGpCpVFU0kP+aDGml+ll9FLEU/oXmIHR5i oqGjF38dbBFShLXrymAqnT4YVHvCypasy2IyJr4g=
X-QQ-FEAT 6nwVEqMlphxMc9rwybZB+PBFQOmpk3tTvIKfHAF5cLWt/PzYUP5hEarFNPR9r mCSqZxMen5TRNjACZbaVwRgBzmJgYiSKwiW/fBrrRCjQVwoWxyh+VBJ1JvLG9RQVtJszdV7 PukLNiK/vAW6fs3ln1c8zboj+1mnv3M7CEQlvdk=
X-QQ-SSF 000000000000002000000000000000C
X-HAS-ATTACH no
X-QQ-BUSINESS-ORIGIN 2
X-Originating-IP 221.182.18.2
X-QQ-STYLE
X-QQ-mid webmail728t1403956150t2897751
From "水静流深" <1248283536@qq.com>
To "python-list" <python-list@python.org>
Subject why i can't install ez_setup
Mime-Version 1.0
Content-Type multipart/alternative; boundary="----=_NextPart_53AEABB6_084B9B90_6A7F46EE"
Content-Transfer-Encoding 8Bit
Date Sat, 28 Jun 2014 19:49:10 +0800
X-Priority 3
X-QQ-MIME TCMime 1.0 by Tencent
X-Mailer QQMail 2.x
X-QQ-Mailer QQMail 2.x
X-QQ-SENDSIZE 520
X-QQ-Bgrelay 1
X-Mailman-Approved-At Sat, 28 Jun 2014 17:10:03 +0200
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.11310.1403968204.18130.python-list@python.org> (permalink)
Lines 89
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1403968204 news.xs4all.nl 2905 [2001:888:2000:d::a6]:33175
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:73707

Show key headers only | View raw


[Multipart message — attachments visible in raw view] - view raw

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?
‍

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


Thread

why i can't install  ez_setup "水静流深" <1248283536@qq.com> - 2014-06-28 19:49 +0800

csiph-web