PS C:\Users\sda> py -3.7-32 -m venv pienv-3.7-32
PS C:\Users\sda> pienv-3.7-32/scripts/python --version --version
Python 3.7.2 (tags/v3.7.2:9a3ffc0492, Dec 23 2018, 22:20:52) [MSC v.1916 32 bit (Intel)]
PS C:\Users\sda> pienv-3.7-32/scripts/python -m pip install --upgrade pip setuptools
Collecting pip
Using cached https://files.pythonhosted.org/packages/60/64/73b729587b6b0d13e690a7c3acd2231ee561e8dd28a58ae1b0409a5a2b20/pip-19.0-py2.py3-none-any.whl
Collecting setuptools
Using cached https://files.pythonhosted.org/packages/37/06/754589caf971b0d2d48f151c2586f62902d93dc908e2fd9b9b9f6aa3c9dd/setuptools-40.6.3-py2.py3-none-any.whl
Installing collected packages: pip, setuptools
Found existing installation: pip 18.1
Uninstalling pip-18.1:
Successfully uninstalled pip-18.1
Found existing installation: setuptools 40.6.2
Uninstalling setuptools-40.6.2:
Successfully uninstalled setuptools-40.6.2
Successfully installed pip-19.0 setuptools-40.6.3
PS C:\Users\sda> pienv-3.7-32/scripts/python -m pip install --no-cache-dir pyinstaller
Collecting pyinstaller
Downloading https://files.pythonhosted.org/packages/03/32/0e0de593f129bf1d1e77eed562496d154ef4460fd5cecfd78612ef39a0cc/PyInstaller-3.4.tar.gz (3.5MB)
100% |████████████████████████████████| 3.5MB 3.6MB/s
Installing build dependencies ... done
Getting requirements to build wheel ... error
Complete output from command C:\Users\sda\pienv-3.7-32\scripts\python.exe C:\Users\sda\pienv-3.7-32\lib\site-packages\pip\_vendor\pep517\_in_process.py get_requires_for_build_wheel C:\Users\s
da\AppData\Local\Temp\tmp79qeazp1:
Traceback (most recent call last):
File "C:\Users\sda\pienv-3.7-32\lib\site-packages\pip\_vendor\pep517\_in_process.py", line 207, in <module>
main()
File "C:\Users\sda\pienv-3.7-32\lib\site-packages\pip\_vendor\pep517\_in_process.py", line 197, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
File "C:\Users\sda\pienv-3.7-32\lib\site-packages\pip\_vendor\pep517\_in_process.py", line 54, in get_requires_for_build_wheel
return hook(config_settings)
File "C:\Users\sda\AppData\Local\Temp\pip-build-env-l1kom2q2\overlay\Lib\site-packages\setuptools\build_meta.py", line 115, in get_requires_for_build_wheel
return _get_build_requires(config_settings, requirements=['wheel'])
File "C:\Users\sda\AppData\Local\Temp\pip-build-env-l1kom2q2\overlay\Lib\site-packages\setuptools\build_meta.py", line 101, in _get_build_requires
_run_setup()
File "C:\Users\sda\AppData\Local\Temp\pip-build-env-l1kom2q2\overlay\Lib\site-packages\setuptools\build_meta.py", line 85, in _run_setup
exec(compile(code, __file__, 'exec'), locals())
File "setup.py", line 20, in <module>
from PyInstaller import __version__ as version, HOMEPATH, PLATFORM
ModuleNotFoundError: No module named 'PyInstaller'
----------------------------------------
Command "C:\Users\sda\pienv-3.7-32\scripts\python.exe C:\Users\sda\pienv-3.7-32\lib\site-packages\pip\_vendor\pep517\_in_process.py get_requires_for_build_wheel C:\Users\sda\AppData\Local\Temp\
tmp79qeazp1" failed with error code 1 in C:\Users\sda\AppData\Local\Temp\pip-install-wcpekeyi\pyinstaller
PS C:\Users\sda> pienv-3.7-32/scripts/python -m pip install --upgrade pip<19.0
Collecting pip<19.0
Using cached https://files.pythonhosted.org/packages/c2/d7/90f34cb0d83a6c5631cf71dfe64cc1054598c843a92b400e55675cc2ac37/pip-18.1-py2.py3-none-any.whl
Installing collected packages: pip
Found existing installation: pip 19.0
Uninstalling pip-19.0:
Successfully uninstalled pip-19.0
Successfully installed pip-18.1
PS C:\Users\sda> pienv-3.7-32/scripts/python -m pip install --no-cache-dir pyinstaller
Collecting pyinstaller
Downloading https://files.pythonhosted.org/packages/03/32/0e0de593f129bf1d1e77eed562496d154ef4460fd5cecfd78612ef39a0cc/PyInstaller-3.4.tar.gz (3.5MB)
100% |████████████████████████████████| 3.5MB 7.1MB/s
Installing build dependencies ... done
Requirement already satisfied: setuptools in c:\users\sda\pienv-3.7-32\lib\site-packages (from pyinstaller) (40.6.3)
Collecting pefile>=2017.8.1 (from pyinstaller)
Downloading https://files.pythonhosted.org/packages/ed/cc/157f20038a80b6a9988abc06c11a4959be8305a0d33b6d21a134127092d4/pefile-2018.8.8.tar.gz (62kB)
100% |████████████████████████████████| 71kB 6.0MB/s
Collecting macholib>=1.8 (from pyinstaller)
Downloading https://files.pythonhosted.org/packages/41/f1/6d23e1c79d68e41eb592338d90a33af813f98f2b04458aaf0b86908da2d8/macholib-1.11-py2.py3-none-any.whl
Collecting altgraph (from pyinstaller)
Downloading https://files.pythonhosted.org/packages/0a/cc/646187eac4b797069e2e6b736f14cdef85dbe405c9bfc7803ef36e4f62ef/altgraph-0.16.1-py2.py3-none-any.whl
Collecting pywin32-ctypes (from pyinstaller)
Downloading https://files.pythonhosted.org/packages/9e/4b/3ab2720f1fa4b4bc924ef1932b842edf10007e4547ea8157b0b9fc78599a/pywin32_ctypes-0.2.0-py2.py3-none-any.whl
Collecting future (from pefile>=2017.8.1->pyinstaller)
Downloading https://files.pythonhosted.org/packages/90/52/e20466b85000a181e1e144fd8305caf2cf475e2f9674e797b222f8105f5f/future-0.17.1.tar.gz (829kB)
100% |████████████████████████████████| 829kB 7.5MB/s
Installing collected packages: future, pefile, altgraph, macholib, pywin32-ctypes, pyinstaller
Running setup.py install for future ... done
Running setup.py install for pefile ... done
Running setup.py install for pyinstaller ... done
Successfully installed altgraph-0.16.1 future-0.17.1 macholib-1.11 pefile-2018.8.8 pyinstaller-3.4 pywin32-ctypes-0.2.0
You are using pip version 18.1, however version 19.0 is available.
You should consider upgrading via the 'python -m pip install --upgrade pip' command.
PS C:\Users\sda> pienv-3.7-32/scripts/python -m pip install --upgrade pip
Collecting pip
Using cached https://files.pythonhosted.org/packages/60/64/73b729587b6b0d13e690a7c3acd2231ee561e8dd28a58ae1b0409a5a2b20/pip-19.0-py2.py3-none-any.whl
Installing collected packages: pip
Found existing installation: pip 18.1
Uninstalling pip-18.1:
Successfully uninstalled pip-18.1
Successfully installed pip-19.0
PS C:\Users\sda> pienv-3.7-32/scripts/python -m pip install --no-cache-dir git+https://github.com/pyinstaller/pyinstaller
Collecting git+https://github.com/pyinstaller/pyinstaller
Cloning https://github.com/pyinstaller/pyinstaller to c:\users\sda\appdata\local\temp\pip-req-build-_sazyitx
Installing build dependencies ... done
Getting requirements to build wheel ... error
Complete output from command C:\Users\sda\pienv-3.7-32\scripts\python.exe C:\Users\sda\pienv-3.7-32\lib\site-packages\pip\_vendor\pep517\_in_process.py get_requires_for_build_wheel C:\Users\s
da\AppData\Local\Temp\tmp51vjf9k6:
Traceback (most recent call last):
File "C:\Users\sda\pienv-3.7-32\lib\site-packages\pip\_vendor\pep517\_in_process.py", line 207, in <module>
main()
File "C:\Users\sda\pienv-3.7-32\lib\site-packages\pip\_vendor\pep517\_in_process.py", line 197, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
File "C:\Users\sda\pienv-3.7-32\lib\site-packages\pip\_vendor\pep517\_in_process.py", line 54, in get_requires_for_build_wheel
return hook(config_settings)
File "C:\Users\sda\AppData\Local\Temp\pip-build-env-od3jtfpk\overlay\Lib\site-packages\setuptools\build_meta.py", line 115, in get_requires_for_build_wheel
return _get_build_requires(config_settings, requirements=['wheel'])
File "C:\Users\sda\AppData\Local\Temp\pip-build-env-od3jtfpk\overlay\Lib\site-packages\setuptools\build_meta.py", line 101, in _get_build_requires
_run_setup()
File "C:\Users\sda\AppData\Local\Temp\pip-build-env-od3jtfpk\overlay\Lib\site-packages\setuptools\build_meta.py", line 85, in _run_setup
exec(compile(code, __file__, 'exec'), locals())
File "setup.py", line 20, in <module>
from PyInstaller import __version__ as version, HOMEPATH, PLATFORM
ModuleNotFoundError: No module named 'PyInstaller'
----------------------------------------
Command "C:\Users\sda\pienv-3.7-32\scripts\python.exe C:\Users\sda\pienv-3.7-32\lib\site-packages\pip\_vendor\pep517\_in_process.py get_requires_for_build_wheel C:\Users\sda\AppData\Local\Temp\
tmp51vjf9k6" failed with error code 1 in C:\Users\sda\AppData\Local\Temp\pip-req-build-_sazyitx
pip installing PyInstaller is failing for me with pip-19.0. The first place I saw the issue was over in my AppVeyor CI. I went ahead and tried in my Windows VM and confirmed (after thinking to use
pip install --no-cache-dir). For completeness I tried in Linux and it failed as well. Both 3.4 from PyPI and latest from GitHub fail with pip-19.0. 3.4 from PyPI works with pip-18.1.I'm closing up for tonight but if I find more I'll be sure to share.
Click to expand Windows logs
Click to expand Linux logs
altendky@lt:~$ python3.7 -m venv pienvaltendky@lt:~$ pienv/bin/python --version --version Python 3.7.2 (default, Jan 22 2019, 22:47:12) [GCC 6.3.0 20170516]altendky@lt:~$ pienv/bin/python -m pip install --upgrade pip Collecting pip Using cached https://files.pythonhosted.org/packages/60/64/73b729587b6b0d13e690a7c3acd2231ee561e8dd28a58ae1b0409a5a2b20/pip-19.0-py2.py3-none-any.whl Installing collected packages: pip Found existing installation: pip 18.1 Uninstalling pip-18.1: Successfully uninstalled pip-18.1 Successfully installed pip-19.0