Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

// , Fails with Python 3.7 #4

Open
v6 opened this issue Sep 19, 2018 · 2 comments
Open

// , Fails with Python 3.7 #4

v6 opened this issue Sep 19, 2018 · 2 comments

Comments

@v6
Copy link

v6 commented Sep 19, 2018

// , I had to manually edit the call this made to download a module, since PyPI requires HTTPS.

Line 149 of ez_setup.py should have https.

Ultimately, this setup tool failed, and I had to use a different method.

DEFAULT_VERSION = "0.6.14"
DEFAULT_URL = "http://pypi.python.org/packages/source/d/distribute/"
SETUPTOOLS_FAKED_VERSION = "0.6c11"

SETUPTOOLS_PKG_INFO = """\
Metadata-Version: 1.0
Name: setuptools

Here's the error:

  File "/Users/v6/Envs/tipple/lib/python3.7/site-packages/ez_setup.py", line 124, in _do_download
    to_dir, download_delay)
  File "/Users/v6/Envs/tipple/lib/python3.7/site-packages/ez_setup.py", line 193, in download_setuptools
    src = urlopen(url)
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/urllib/request.py", line 222, in urlopen
    return opener.open(url, data, timeout)
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/urllib/request.py", line 531, in open
    response = meth(req, response)
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/urllib/request.py", line 641, in http_response
    'http', request, response, code, msg, hdrs)
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/urllib/request.py", line 569, in error
    return self._call_chain(*args)
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/urllib/request.py", line 503, in _call_chain
    result = func(*args)
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/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
@alexjh
Copy link

alexjh commented Sep 19, 2018

This is fixed in #3 but it hasn't been merged yet. Maybe @rawktron can do it?

@tejt99
Copy link

tejt99 commented Aug 2, 2019

I have the same error after changing according to #3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants