I'm not sure why your powershell is blowing up, but try running python ez_setup.py --insecure
instead. On Sun, Jan 5, 2014 at 7:38 AM, Malik Rumi <[email protected]> wrote: > Here is what I did and the response: > > c:\> > > c:\>ez_setup.py > > Downloading > > > https://pypi.python.org/packages/source/s/setuptools/setuptools-2.0. > > 2.tar.gz > > Exception calling "DownloadFile" with "2" argument(s): "An exception > > > occurred > > during a WebClient request." > > At line:1 char:1 > > + (new-object > > System.Net.WebClient).DownloadFile('https://pypi.python.org/packages > > > ... > > + > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > > ~~~~~~ > > ~~~ > > + CategoryInfo : NotSpecified: (:) [], > > > MethodInvocationException > > + FullyQualifiedErrorId : WebException > > > Traceback (most recent call last): > > File "C:\Python27\Scripts\ez_setup.py", line 361, in <module> > > sys.exit(main()) > > File "C:\Python27\Scripts\ez_setup.py", line 357, in main > > downloader_factory=options.downloader_factory) > > File "C:\Python27\Scripts\ez_setup.py", line 282, in > > > download_setuptools > > downloader(url, saveto) > > File "C:\Python27\Scripts\ez_setup.py", line 169, in > > > download_file_powershell > > _clean_check(cmd, target) > > File "C:\Python27\Scripts\ez_setup.py", line 152, in _clean_check > > subprocess.check_call(cmd) > > File "C:\Python27\lib\subprocess.py", line 511, in check_call > > raise CalledProcessError(retcode, cmd) > > subprocess.CalledProcessError: Command '['powershell', '-Command', > > > "(new-object > > System.Net.WebClient).DownloadFile > > > ('https://pypi.python.org/packages/source/s/se > > tuptools/setuptools-2.0.2.tar.gz', 'c:\\\\setuptools-2.0.2.tar.gz')"]' > > > returned > > non-zero exit status 1 > > > c:\> > > The parts in red were in red in my terminal window. I am on windows 8.1 and > I am brand new. Less than a week ago, I installed Distribute because someone > on Django Google Groups recommended it to me, along with virtualenv and pip. > Then today - well, last night since it was a few hours ago - I found out > Distribute is deprecated. So I am trying to follow the uninstall > instructions but this is what I got. Just for kicks I ran it again just now > - same result. Please help. I took time off from work Thursday and Friday to > get all this set up have been at this all weekend only to be stumped again. > And no, I do not have Django up and running yet. Thank you. > > _______________________________________________ > Distutils-SIG maillist - [email protected] > https://mail.python.org/mailman/listinfo/distutils-sig > _______________________________________________ Distutils-SIG maillist - [email protected] https://mail.python.org/mailman/listinfo/distutils-sig
