[Distutils] ez_setup.py can not get setuptools
Chris Barker
chris.barker at noaa.gov
Fri May 6 12:17:22 EDT 2016
ez_setup.py is pretty darn old.
Any reason you can't:
python -m pip install setuptools
?
-CHB
On Fri, May 6, 2016 at 12:11 AM, Benedek Zoltan via Distutils-SIG <
distutils-sig at python.org> wrote:
> Hi,
>
> I don't know what happened recently. Usually I install setuptools by a
> script using the ez_setup.py script.
>
> Recently I get an error:
>
> Downloading
> https://pypi.python.org/packages/source/s/setuptools/setuptools-21.0.0.zip
> Traceback (most recent call last):
> File "downloads/ez_setup.py", line 415, in <module>
> sys.exit(main())
> File "downloads/ez_setup.py", line 411, in main
> archive = download_setuptools(**_download_args(options))
> File "downloads/ez_setup.py", line 336, in download_setuptools
> downloader(url, saveto)
> File "downloads/ez_setup.py", line 287, in download_file_insecure
> src = urlopen(url)
> File "/usr/lib/python3.4/urllib/request.py", line 161, in urlopen
> return opener.open(url, data, timeout)
> File "/usr/lib/python3.4/urllib/request.py", line 469, in open
> response = meth(req, response)
> File "/usr/lib/python3.4/urllib/request.py", line 579, in http_response
> 'http', request, response, code, msg, hdrs)
> File "/usr/lib/python3.4/urllib/request.py", line 507, in error
> return self._call_chain(*args)
> File "/usr/lib/python3.4/urllib/request.py", line 441, in _call_chain
> result = func(*args)
> File "/usr/lib/python3.4/urllib/request.py", line 587, in
> http_error_default
> raise HTTPError(req.full_url, code, msg, hdrs, fp)
> urllib.error.HTTPError: HTTP Error 404: Not Found
>
> For now I can copy the package from an old virtualenv, but I'd appreciate
> a better solution/advise.
>
> Thanks
> Zoltan
>
> _______________________________________________
> Distutils-SIG maillist - Distutils-SIG at python.org
> https://mail.python.org/mailman/listinfo/distutils-sig
>
>
--
Christopher Barker, Ph.D.
Oceanographer
Emergency Response Division
NOAA/NOS/OR&R (206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception
Chris.Barker at noaa.gov
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/distutils-sig/attachments/20160506/653d9bd8/attachment.html>
More information about the Distutils-SIG
mailing list