Skip to content
This repository has been archived by the owner on Nov 12, 2021. It is now read-only.

non-https requests break install script #15

Open
xthulhu opened this issue Jul 27, 2019 · 0 comments
Open

non-https requests break install script #15

xthulhu opened this issue Jul 27, 2019 · 0 comments

Comments

@xthulhu
Copy link

xthulhu commented Jul 27, 2019

Unfortunately, Distutils team decided to revoke support for non-https requests back in 2017, without worrying about breaking the backward compatibility of earlier versions of numerous python libraries. Just a heads up.

Getting the following error on install:

PS C:\Users\me\pyfacegraph> python setup.py install
Downloading http://pypi.python.org/packages/source/d/distribute/distribute-0.6.10.tar.gz
Traceback (most recent call last):
  File "C:\Users\me\pyfacegraph\distribute_setup.py", line 143, in use_setuptools
    raise ImportError
ImportError

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "setup.py", line 8, in <module>
    from distribute_setup import use_setuptools; use_setuptools()
  File "C:\Users\me\pyfacegraph\distribute_setup.py", line 145, in use_setuptools
    return _do_download(version, download_base, to_dir, download_delay)
  File "C:\Users\me\pyfacegraph\distribute_setup.py", line 124, in _do_download
    to_dir, download_delay)
  File "C:\Users\me\pyfacegraph\distribute_setup.py", line 193, in download_setuptools
    src = urlopen(url)
  File "C:\Users\me\AppData\Local\Programs\Python\Python37-32\lib\urllib\request.py", line 222, in urlopen
    return opener.open(url, data, timeout)
  File "C:\Users\me\AppData\Local\Programs\Python\Python37-32\lib\urllib\request.py", line 531, in open
    response = meth(req, response)
  File "C:\Users\me\AppData\Local\Programs\Python\Python37-32\lib\urllib\request.py", line 641, in http_response
    'http', request, response, code, msg, hdrs)
  File "C:\Users\me\AppData\Local\Programs\Python\Python37-32\lib\urllib\request.py", line 569, in error
    return self._call_chain(*args)
  File "C:\Users\me\AppData\Local\Programs\Python\Python37-32\lib\urllib\request.py", line 503, in _call_chain
    result = func(*args)
  File "C:\Users\me\AppData\Local\Programs\Python\Python37-32\lib\urllib\request.py", line 649, in http_error_default

    raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 403: SSL is required
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant