ERROR: No matching distribution found for setuptools>=40.8.0

1,773 views
Skip to first unread message

Srikanth Bemineni

unread,
Sep 1, 2019, 5:30:27 AM9/1/19
to PyInstaller
Hi


Why I am getting this error during installation. I already have setups tool 41.0.1 installed.
Python 2.7.13


C:\Develop\raiden>pip install pyinstaller --trusted-host pypi.python.org --trusted-host files.pythonhosted.org --proxy=--proxy=xxxxx.8080
DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support
Collecting pyinstaller
     |UUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUU| 3.5MB 948kB/s
  Installing build dependencies ... error
  ERROR: Command errored out with exit status 1:
   command: 'c:\python27\python.exe' 'c:\python27\lib\site-packages\pip' install --ignore-installed --no-user --prefix 'c:\users\admini~1\appdata\local\temp\2\pip-build-env-3iseyd\overlay' --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple --trusted-host pypi.python.org --trusted-host files.pythonhosted.org -- 'setuptools>=40.8.0' wheel
       cwd: None
  Complete output (10 lines):
  DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support
  Collecting setuptools>=40.8.0
    WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLError(1, u'[SSL: TLSV1_ALERT_ACCESS_DENIED] tlsv1 alert access denied (_ssl.c:661)'),)': /simple/setuptools/
    WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLError(1, u'[SSL: TLSV1_ALERT_ACCESS_DENIED] tlsv1 alert access denied (_ssl.c:661)'),)': /simple/setuptools/
    WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLError(1, u'[SSL: TLSV1_ALERT_ACCESS_DENIED] tlsv1 alert access denied (_ssl.c:661)'),)': /simple/setuptools/
    WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLError(1, u'[SSL: TLSV1_ALERT_ACCESS_DENIED] tlsv1 alert access denied (_ssl.c:661)'),)': /simple/setuptools/
    WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLError(1, u'[SSL: TLSV1_ALERT_ACCESS_DENIED] tlsv1 alert access denied (_ssl.c:661)'),)': /simple/setuptools/
    Could not fetch URL https://pypi.org/simple/setuptools/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/setuptools/ (Caused by SSLError(SSLError(1, u'[SSL: TLSV1_ALERT_ACCESS_DENIED] tlsv1 alert access denied (_ssl.c:661)'),)) - skipping
    ERROR: Could not find a version that satisfies the requirement setuptools>=40.8.0 (from versions: none)
  ERROR: No matching distribution found for setuptools>=40.8.0
  ----------------------------------------
ERROR: Command errored out with exit status 1: 'c:\python27\python.exe' 'c:\python27\lib\site-packages\pip' install --ignore-installed --no-user --prefix 'c:\users\admini~1\appdata\local\temp\2\pip-build-env-3iseyd\overlay' --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple --trusted-host pypi.python.org --trusted-host files.pythonhosted.org -- 'setuptools>=40.8.0' wheel Check the logs for full command output. 


I already have the latest setuptools

C:\Develop\raiden\bin>pip install setuptools wheel --trusted-host pypi.python.org --trusted-host files.pythonhosted.org --proxy=xxxxx.8080
DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support
Requirement already satisfied: setuptools in c:\users\administrator\appdata\roaming\python\python27\site-packages (41.0.1)
Requirement already satisfied: wheel in c:\users\administrator\appdata\roaming\python\python27\site-packages (0.33.4)



Thank you
Srikanth Bemineni

Hartmut Goebel

unread,
Sep 1, 2019, 5:33:19 AM9/1/19
to pyins...@googlegroups.com
Am 31.08.19 um 22:18 schrieb Srikanth Bemineni:
Why I am getting this error during installation. I already have setups tool 41.0.1 installed.
Python 2.7.13

HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/setuptools/ (Caused by SSLError(SSLError(1, u'[SSL: TLSV1_ALERT_ACCESS_DENIED] tlsv1 alert access denied (_ssl.c:661)'),)) - skipping
    ERROR: Could not find a version that satisfies the requirement setuptools>=40.8.0 (from versions: none)
  ERROR: No matching distribution found for setuptools>=40.8.0
  ----------------------------------------
ERROR: Command errored out with exit status 1: 'c:\python27\python.exe' 'c:\python27\lib\site-packages\pip' install --ignore-installed --no-user --prefix 'c:\users\admini~1\appdata\local\temp\2\pip-build-env-3iseyd\overlay' --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple --trusted-host pypi.python.org --trusted-host files.pythonhosted.org -- 'setuptools>=40.8.0' wheel Check the logs for full command output.


Check your setup, this is not a PyInstaller issue.


--
Schönen Gruß
Hartmut Goebel
Dipl.-Informatiker (univ), CISSP, CSSLP, ISO 27001 Lead Implementer
Information Security Management, Security Governance, Secure Software Development

Goebel Consult, Landshut
http://www.goebel-consult.de

Blog: https://www.goe-con.de/blog/bin-offiziell-entdecker-einer-sicherheitslucke
Kolumne: https://www.goe-con.de/hartmut-goebel/cissp-gefluester/2012-01-in-die-cloud-in-die-cloud-aber-wo-soll-die-sein

0x7B752811BF773B65.asc

BrianB888s

unread,
Jan 30, 2020, 10:20:21 AM1/30/20
to pyins...@googlegroups.com
I got this same error and it appears to have been caused by being behind a
proxy server. In windows control panel, I set the following environment
variables (for ALL users, rather than just my user):

HTTP_PROXY=https:///myproxyserver.somewhere.com/:80

HTTPS_PROXY=https:///myproxyserver.somewhere.com/:80

(obviously change the server and potentially the port number to your own
configuration)

Once they were set, I closed and reopened the command prompt and the pip
install pyinstaller worked fine.





--
Sent from: http://pyinstaller.47505.x6.nabble.com/
Reply all
Reply to author
Forward
0 new messages