Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Sep 30, 2019. It is now read-only.
This repository was archived by the owner on Sep 30, 2019. It is now read-only.

ez_setup.py has deprecated methods for installing setuptools #96

@mcprat

Description

@mcprat

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions