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

Error when installing via pip #1

Open
rshipp opened this issue May 1, 2018 · 1 comment
Open

Error when installing via pip #1

rshipp opened this issue May 1, 2018 · 1 comment

Comments

@rshipp
Copy link

rshipp commented May 1, 2018

$ pip install pylcdui
Collecting pylcdui
  Using cached https://files.pythonhosted.org/packages/b2/07/34706c4f4bfce4bf282d30e989dc6cba62c7c0a29160217fb27377e28d27/pylcdui-0.5.8.tar.gz
    Complete output from command python setup.py egg_info:
    Downloading http://pypi.python.org/packages/source/d/distribute/distribute-0.6.12.tar.gz
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/tmp/pip-install-voAmnd/pylcdui/setup.py", line 4, in <module>
        use_setuptools()
      File "distribute_setup.py", line 145, in use_setuptools
        return _do_download(version, download_base, to_dir, download_delay)
      File "distribute_setup.py", line 124, in _do_download
        to_dir, download_delay)
      File "distribute_setup.py", line 193, in download_setuptools
        src = urlopen(url)
      File "/usr/lib/python2.7/urllib2.py", line 154, in urlopen
        return opener.open(url, data, timeout)
      File "/usr/lib/python2.7/urllib2.py", line 435, in open
        response = meth(req, response)
      File "/usr/lib/python2.7/urllib2.py", line 548, in http_response
        'http', request, response, code, msg, hdrs)
      File "/usr/lib/python2.7/urllib2.py", line 473, in error
        return self._call_chain(*args)
      File "/usr/lib/python2.7/urllib2.py", line 407, in _call_chain
        result = func(*args)
      File "/usr/lib/python2.7/urllib2.py", line 556, in http_error_default
        raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
    urllib2.HTTPError: HTTP Error 403: SSL is required
    
    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-install-voAmnd/pylcdui/

Seems to be because of this https://github.com/mik3y/pylcdui/blob/master/distribute_setup.py#L50 using a non-https URL, which is disallowed in recent versions of pip. I'm not familiar with distribute_setup.py so I'm not sure what the fix here is. Let me know if you need any more info.

@rshipp
Copy link
Author

rshipp commented May 2, 2018

This change lets me install via pip, but I'm not sure what reason you had for using distribute, so I don't know if it works for your setup: InQuest@45c6e21

I can PR this in if you'd like.

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

1 participant