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


Groups > comp.lang.python > #73716

回复: why i can't install ez_setup

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!eternal-september.org!feeder.eternal-september.org!goblin3!goblin2!goblin.stu.neva.ru!newsfeed.xs4all.nl!newsfeed1.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.010
X-Spam-Evidence '*H*': 0.98; '*S*': 0.00; 'offline': 0.03; 'url:pypi': 0.03; 'skip:[ 20': 0.04; '(b)': 0.07; 'error:': 0.07; 'skip:\\ 20': 0.07; 'skip:` 10': 0.07; '[],': 0.09; 'exit': 0.09; 'http': 0.09; 'lawrence': 0.09; 'setup.py': 0.09; 'skip:/ 10': 0.09; 'python': 0.11; 'language.': 0.14; '"mark': 0.16; '&gt;&gt;': 0.16; "('',": 0.16; '8bit%:32': 0.16; 'authority.': 0.16; 'cmd': 0.16; 'ez_setup': 0.16; 'ez_setup.py': 0.16; 'filenames,': 0.16; 'length:': 0.16; 'setuptools': 0.16; 'skip:1 40': 0.16; 'skip:[ 30': 0.16; 'skip:[ 50': 0.16; 'subject:install': 0.16; 'supplied': 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; '&gt;&gt;&gt;': 0.24; '(a)': 0.24; 'now?': 0.24; 'skip:` 20': 0.24; 'ssl': 0.24; '---': 0.24; '&gt;': 0.26; '(see': 0.26; 'skip:" 30': 0.26; 'skip:" 40': 0.26; 'header:In-Reply-To:1': 0.27; 'to:2**1': 0.27; 'host': 0.29; 'chris': 0.29; 'skip:p 30': 0.29; 'generally': 0.29; 'raise': 0.29; "doesn't": 0.30; 'returned': 0.30; 'specified': 0.30; 'url:mailman': 0.30; "skip:' 10": 0.31; 'extract': 0.31; 'url:se': 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; "can't": 0.35; 'common': 0.35; 'skip:s 30': 0.35; 'url:listinfo': 0.36; 'url:org': 0.36; 'wrong': 0.37; 'requirements': 0.37; 'skip:- 20': 0.37; 'remote': 0.38; 'skip:& 10': 0.38; 'skip:[ 10': 0.38; 'to:addr:python-list': 0.38; 'files': 0.38; 'skip:- 10': 0.38; 'pm,': 0.38; 'recent': 0.39; 'subject:can': 0.39; 'to:addr:python.org': 0.39; 'unable': 0.39; 'either': 0.39; 'url:mail': 0.40; 'how': 0.40; 'commands': 0.60; 'skip:2 20': 0.60; 'skip:l 50': 0.60; 'free': 0.61; 'establish': 0.61; 'viruses': 0.61; 'from:charset:utf-8': 0.61; 'name': 0.63; 'high': 0.63; 'protection': 0.63; 're:': 0.63; 'skip:n 10': 0.64; 'our': 0.64; '8bit%:10': 0.64; 'connecting': 0.64; 'zip': 0.64; 'skip:\xe2 10': 0.65; 'antivirus': 0.68; 'skip:w 40': 0.68; 'saving': 0.69; '8bit%:92': 0.71; 'subjectcharset:utf-8': 0.72; '8bit%:43': 0.74; 'connection.': 0.74; 'assurance': 0.75; ',the': 0.84; '3.4': 0.84; 'from:addr:1248283536': 0.84; 'from:addr:qq.com': 0.84; 'message-id:@qq.com': 0.84; 'or:': 0.84; 'received:qq.com': 0.84; 'skip:. 50': 0.84; 'to:addr:yahoo.co.uk': 0.84; 'url:zip': 0.84; 'x-mailer:qqmail 2.x': 0.84; 'awaiting': 0.91; 'sent,': 0.91; 'skip:\xe2 30': 0.91; 'urls,': 0.91; '8bit%:67': 0.93; 'issued': 0.93
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=qq.com; s=s201307; t=1403996065; bh=maAPyTqfmE2CKFEulHj0DYz7gPRUcKKVbK0+MVQTFSQ=; h=X-QQ-FEAT:X-QQ-SSF:X-HAS-ATTACH:X-QQ-BUSINESS-ORIGIN: X-Originating-IP:In-Reply-To:References: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-ReplyHash:X-QQ-SENDSIZE; b=pI5t6gWtZ5JN67CWQmqAA9mmvcB5DHvBgptwKVgorPHgE4Bs7XUUmTyAW/D5jx1Gi QYPqSqrIH48GSpcOAI7uIHg1j9cFmrEw8wMgrbc1cn/1ONkoegWCdK33MNkza/wn64 /zmlc81pI8EbwMsG6WEUDbjXHqeY7HtGOTzknBfw=
X-QQ-FEAT 0J8E4aBA0ItldhZkdI6BMs0A3jXtDuuChmJR68AzDFSZrl5VEBIm33pup3ycQ ANZHZaQXuNJMtTjZyYVEpMrrrXaDYIh+HRPLAqznReU0PfDLu5vFuiOUVk50/PbtqeN6Css f3X0U9UxEWvUCLovN5GW10vdvCNkvLnq7fhTDPXvkGPrEYjCrTbudWfyIuaq
X-QQ-SSF 000000000000002000000000000000C
X-HAS-ATTACH no
X-QQ-BUSINESS-ORIGIN 2
X-Originating-IP 221.182.18.2
In-Reply-To <lomto0$3mb$1@ger.gmane.org>
References <tencent_09B6C1417D2468E25887FD86@qq.com> <CAMw+j7KsYo9+CXq0Lrx85PSrAj33OH0tKmx+CXHZ=QMb2rsNAw@mail.gmail.com> <lomto0$3mb$1@ger.gmane.org>
X-QQ-STYLE
X-QQ-mid webmail728t1403996064t6987672
From "水静流深" <1248283536@qq.com>
To "Mark Lawrence" <breamoreboy@yahoo.co.uk>, "python-list" <python-list@python.org>
Subject 回复: why i can't install ez_setup
Mime-Version 1.0
Content-Type multipart/alternative; boundary="----=_NextPart_53AF47A0_091218D8_3D7E9442"
Content-Transfer-Encoding 8Bit
Date Sun, 29 Jun 2014 06:54:24 +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-ReplyHash 1674154975
X-QQ-SENDSIZE 520
X-QQ-Bgrelay 1
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.11315.1403996068.18130.python-list@python.org> (permalink)
Lines 237
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1403996068 news.xs4all.nl 2977 [2001:888:2000:d::a6]:49784
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:73716

Show key headers only | View raw


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

I have download the setuptools-5.2.zip  with wget 
1.download  setuptools-5.2.zip‍
‍C:\Users\pengsir>d:\wget -c https://pypi.python.org/packages/source/s/setuptools
/setuptools-5.2.zip
--2014-06-29 06:42:30--  https://pypi.python.org/packages/source/s/setuptools/se
tuptools-5.2.zip
Resolving pypi.python.org... 103.245.222.175
Connecting to pypi.python.org|103.245.222.175|:443... connected.
ERROR: cannot verify pypi.python.org's certificate, issued by `/C=US/O=DigiCert
Inc/OU=www.digicert.com/CN=DigiCert High Assurance CA-3':
  Unable to locally verify the issuer's authority.
ERROR: certificate common name `*.c.ssl.fastly.net' doesn't match requested host
 name `pypi.python.org'.
To connect to pypi.python.org insecurely, use `--no-check-certificate'.
Unable to establish SSL connection.

C:\Users\pengsir>d:\wget -c https://pypi.python.org/packages/source/s/setuptools
/setuptools-5.2.zip  --no-check-certificate
--2014-06-29 06:43:02--  https://pypi.python.org/packages/source/s/setuptools/se
tuptools-5.2.zip
Resolving pypi.python.org... 103.245.222.175
Connecting to pypi.python.org|103.245.222.175|:443... connected.
WARNING: cannot verify pypi.python.org's certificate, issued by `/C=US/O=DigiCer
t Inc/OU=www.digicert.com/CN=DigiCert High Assurance CA-3':
  Unable to locally verify the issuer's authority.
WARNING: certificate common name `*.c.ssl.fastly.net' doesn't match requested ho
st name `pypi.python.org'.
HTTP request sent, awaiting response... 200 OK
Length: 856803 (837K) [application/zip]
Saving to: `setuptools-5.2.zip'

100%[======================================>] 856,803      208K/s   in 4.0s‍

2.install  setuptools
extract all files in d: disk.

C:\Users\pengsir>python  d:\setuptools-5.2\setup.py
usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
   or: setup.py --help [cmd1 cmd2 ...]
   or: setup.py --help-commands
   or: setup.py cmd --help

error: no commands supplied

C:\Users\pengsir>python  d:\setuptools-5.2\easy_install.py
error: No urls, filenames, or requirements specified (see --help)‍

How can i install it now?




------------------ 原始邮件 ------------------
发件人: "Mark Lawrence";<breamoreboy@yahoo.co.uk>;
发送时间: 2014年6月29日(星期天) 凌晨1:24
收件人: "python-list"<python-list@python.org>; 

主题: Re: why i can't install ez_setup



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


-- 
https://mail.python.org/mailman/listinfo/python-list

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


Thread

回复: why i can't install ez_setup "水静流深" <1248283536@qq.com> - 2014-06-29 06:54 +0800

csiph-web