On 28/06/2014 16:36, Chris “Kwpolska” Warrick wrote:
On Sat, Jun 28, 2014 at 1:49 PM, 水静流深 <1248283...@qq.com> wrote:
I have downloaoded ez_setup.py ,when i install it ,the wrong message:
Exception calling "DownloadFile" with "2" argument(s): "Unable to connect to
e remote server"
At line:1 char:152
+ [System.Net.WebRequest]::DefaultWebProxy.Credentials =
Cache]::DefaultCredentials; (new-object System.Net.WebClient).DownloadFile
+ CategoryInfo : NotSpecified: (:) ,
+ FullyQualifiedErrorId : DotNetMethodException
Traceback (most recent call last):
File "d:\ez_setup.py", line 332, in <module>
File "d:\ez_setup.py", line 327, in main
File "d:\ez_setup.py", line 287, in download_setuptools
File "d:\ez_setup.py", line 192, in download_file_powershell
File "d:\ez_setup.py", line 169, in _clean_check
File "d:\Python27\lib\subprocess.py", line 540, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['powershell', '-Command',
\\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:
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.
This email is free from viruses and malware because avast! Antivirus protection