You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 30, 2019. It is now read-only.
The first problem I got in this library was just how to install it. I had a fresh install of Python 2.7.15 on Windows 10 64-bit. It took me a while to realize that pip was not yet bootstrapped (never heard of that before this).
Furthermore, the version that the script points to download is no longer hosted anywhere. It gave me an error that made it seem like TLS version in the certificate exchange of the download was to blame...when actually the URL it was attempting to access
but what was actually going on is the source that the script is attempting to download setuptools, is no longer hosting the version of setuptools that the script is looking for...
I imagine there are many ways to fix this in ez_setup.py
the solution for me was to execute in command prompt: python -m ensurepip --upgrade
and then run the setup.py script instead
The text was updated successfully, but these errors were encountered:
mcprat
pushed a commit
to mcprat/Adafruit_Python_GPIO
that referenced
this issue
Mar 29, 2019
My suggestion for fixing the deprecated method for installing or updating setuptools using ez_setup.py
Also ensures that both pip and setuptools are 'bootstrapped' to the python environment, which does not always happen on a fresh install in Windows.
Fixesadafruit#96
This can be made more robust by detecting if pip or setuptools is installed with `pip --version`, etc...
My suggestion for fixing the deprecated method for installing or updating setuptools using ez_setup.py
Also ensures that both pip and setuptools are 'bootstrapped' to the python environment, which does not always happen on a fresh install in Windows.
Fixesadafruit#96
This can be made more robust by detecting if pip or setuptools is installed with `pip --version`, etc...
mcprat
pushed a commit
to mcprat/Adafruit_Python_GPIO
that referenced
this issue
Apr 2, 2019
doing a better job than adafruit#96
prints possible requirement for root or admin privileges
tries to import pip before calling ensurepip (which isnt needed for python 3)
this time, don't even keep the method from ez_setup.py, there's no point...
commenting it out with ''' ''' gave me an IOError
bump version because why not?
The first problem I got in this library was just how to install it. I had a fresh install of Python 2.7.15 on Windows 10 64-bit. It took me a while to realize that pip was not yet bootstrapped (never heard of that before this).
Furthermore, the version that the script points to download is no longer hosted anywhere. It gave me an error that made it seem like TLS version in the certificate exchange of the download was to blame...when actually the URL it was attempting to access
The error led me to this:
https://stackoverflow.com/questions/46981300/python-error-when-installing-ez-setup-py-could-not-create-ssl-tls-secure-channe/47041448
but what was actually going on is the source that the script is attempting to download setuptools, is no longer hosting the version of setuptools that the script is looking for...
I imagine there are many ways to fix this in ez_setup.py
the solution for me was to execute in command prompt:
python -m ensurepip --upgrade
and then run the setup.py script instead
The text was updated successfully, but these errors were encountered: