|
本帖最后由 liqiochi 于 2019-2-1 15:53 编辑
我是win10 x64系统,pip 19.0.1,python 3.7.2,pywin32 224
python和pip已经正常安装,但是安装pyinstaller时出错,出错信息如下:
Collecting pyinstaller
Using cached https://files.pythonhosted.org/p ... nstaller-3.4.tar.gz
Installing build dependencies: started
Installing build dependencies: finished with status 'done'
Getting requirements to build wheel: started
Getting requirements to build wheel: finished with status 'error'
Complete output from command c:\users\administrator\appdata\local\programs\python\python37\python.exe c:\users\administrator\appdata\local\programs\python\python37\lib\site-packages\pip\_vendor\pep517\_in_process.py get_requires_for_build_wheel C:\Users\ADMINI~1\AppData\Local\Temp\tmphp8nzupx:
Traceback (most recent call last):
File "c:\users\administrator\appdata\local\programs\python\python37\lib\site-packages\pip\_vendor\pep517\_in_process.py", line 207, in <module>
main()
File "c:\users\administrator\appdata\local\programs\python\python37\lib\site-packages\pip\_vendor\pep517\_in_process.py", line 197, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
File "c:\users\administrator\appdata\local\programs\python\python37\lib\site-packages\pip\_vendor\pep517\_in_process.py", line 54, in get_requires_for_build_wheel
return hook(config_settings)
File "C:\Users\ADMINI~1\AppData\Local\Temp\pip-build-env-7n7uqcvh\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\ADMINI~1\AppData\Local\Temp\pip-build-env-7n7uqcvh\overlay\Lib\site-packages\setuptools\build_meta.py", line 101, in _get_build_requires
_run_setup()
File "C:\Users\ADMINI~1\AppData\Local\Temp\pip-build-env-7n7uqcvh\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'
----------------------------------------
请问这是什么问题,该如何解决?谢谢。
|
-
|