Error output:
pip install pyinstaller
installing build dependencies
Collecting wheel Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x000001BEF10AD0F0>, 'Connection to pypi.org timed out. (connect timeout=15)')': /simple/wheel/ Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x000001BEF10ADE48>, 'Connection to pypi.org timed out. (connect timeout=15)')': /simple/wheel/ Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x000001BEF10BB518>, 'Connection to pypi.org timed out. (connect timeout=15)')': /simple/wheel/ Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x000001BEF10BB320>, 'Connection to pypi.org timed out. (connect timeout=15)')': /simple/wheel/ Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x000001BEF10BB7B8>, 'Connection to pypi.org timed out. (connect timeout=15)')': /simple/wheel/ Could not find a version that satisfies the requirement wheel (from versions: )
No matching distribution found for wheel 1 Answer
It appears that pip is unable to connect to PyPI (where pip downloads Python packages from). Generally, you should ensure that:
You have a working internet connection and
pipis allowed to connect to external websites.pipis updated (pip install -U pip).
There may also (theoretically) be some issue with the certificates associated with pip/Python.
Note that you can manually download Python packages (often bundled as .whl files or tar.gz archives) and use pip to install them locally (e.g. pip install pyinstaller-4.3.tar.gz).
Be aware, however, that the most recent versions of PyInstaller rely on a number of additional Python packages. These currently appear to include:
- altgraph
- future
- importlib-metadata
- pefile
- pyinstaller-hooks-contrib
- pywin32-ctypes
- setuptools
- typing-extensions
- zipp
Resources