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


Groups > comp.lang.python > #73711 > unrolled thread

Re: why i can't install ez_setup

Started byMark Lawrence <breamoreboy@yahoo.co.uk>
First post2014-06-28 18:24 +0100
Last post2014-06-28 20:07 +0100
Articles 3 — 2 participants

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  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

#73711 — Re: why i can't install ez_setup

FromMark Lawrence <breamoreboy@yahoo.co.uk>
Date2014-06-28 18:24 +0100
SubjectRe: why i can't install ez_setup
Message-ID<mailman.11313.1403976274.18130.python-list@python.org>
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

[toc] | [next] | [standalone]


#73712

FromSteven D'Aprano <steve+comp.lang.python@pearwood.info>
Date2014-06-28 18:15 +0000
Message-ID<53af063b$0$29985$c3e8da3$5496439d@news.astraweb.com>
In reply to#73711
On Sat, 28 Jun 2014 18:24:21 +0100, Mark Lawrence wrote:

[snip]
> Or get Python 3.4 which can get pip for you if you so desire.

Hey Mark, how about trimming your replies a little, please? Thanks.


-- 
Steven

[toc] | [prev] | [next] | [standalone]


#73713

FromMark Lawrence <breamoreboy@yahoo.co.uk>
Date2014-06-28 20:07 +0100
Message-ID<mailman.11314.1403982464.18130.python-list@python.org>
In reply to#73712
On 28/06/2014 19:15, Steven D'Aprano wrote:
> On Sat, 28 Jun 2014 18:24:21 +0100, Mark Lawrence wrote:
>
> [snip]
>> Or get Python 3.4 which can get pip for you if you so desire.
>
> Hey Mark, how about trimming your replies a little, please? Thanks.
>
>

Okay, as soon as folks stop using google groups :)

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

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web