注册 登录
编程论坛 Python论坛

求助。python2.7.15 pip安装pyinstaller报错

huoke 发布于 2019-01-29 01:14, 4264 次点击
我的pip安装其他的包没得问题,唯独pyinstaller要报错wwwwwwwwww,造孽。
只有本站会员才能查看附件,请 登录

Looking in indexes: https://pypi.
Collecting pyinstaller
  Downloading https://pypi. (3.5MB)
  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:\Python27\python.exe C:\Python27\lib\site-packages\pip\_vendor\pep517\_in_process.py get_requires_for_build_wheel c:\users\chloe\appdata\local\temp\tmppasp1f:
  Traceback (most recent call last):
    File "C:\Python27\lib\site-packages\pip\_vendor\pep517\_in_process.py", line 207, in <module>
      main()
    File "C:\Python27\lib\site-packages\pip\_vendor\pep517\_in_process.py", line 197, in main
      json_out['return_val'] = hook(**hook_input['kwargs'])
    File "C:\Python27\lib\site-packages\pip\_vendor\pep517\_in_process.py", line 54, in get_requires_for_build_wheel
      return hook(config_settings)
    File "c:\users\chloe\appdata\local\temp\pip-build-env-zzkhto\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\chloe\appdata\local\temp\pip-build-env-zzkhto\overlay\Lib\site-packages\setuptools\build_meta.py", line 101, in _get_build_requires
      _run_setup()
    File "c:\users\chloe\appdata\local\temp\pip-build-env-zzkhto\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
  ImportError: No module named PyInstaller
  
  ----------------------------------------

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.
Command "C:\Python27\python.exe C:\Python27\lib\site-packages\pip\_vendor\pep517\_in_process.py get_requires_for_build_wheel c:\users\chloe\appdata\local\temp\tmppasp1f" failed with error code 1 in C:\Users\Chloe\AppData\Local\Temp\pycharm-packaging\pyinstaller
0 回复
1