数豆子先生 2019-08-21 16:45 采纳率: 66.7%
浏览 11768
已结题

python安装pyinstaller报错

 ERROR: Command errored out with exit status 1:
     command: 'c:\users\巩子昆\appdata\local\programs\python\python37-32\python.exe' 'c:\users\巩子昆\appdata\local\programs\python\python37-32\lib\site-packages\pip\_vendor\pep517\_in_process.py' prepare_metadata_for_build_wheel 'C:\Users\巩子昆\AppData\Local\Temp\tmp5hj8yy69'
         cwd: C:\Users\巩子昆\AppData\Local\Temp\pip-install-_y8nunuv\pyinstaller
    Complete output (36 lines):
    running dist_info
    creating C:\Users\巩子昆\AppData\Local\Temp\pip-install-_y8nunuv\pyinstaller\pip-wheel-metadata\PyInstaller.egg-info
    writing C:\Users\巩子昆\AppData\Local\Temp\pip-install-_y8nunuv\pyinstaller\pip-wheel-metadata\PyInstaller.egg-info\PKG-INFO
    writing dependency_links to C:\Users\巩子昆\AppData\Local\Temp\pip-install-_y8nunuv\pyinstaller\pip-wheel-metadata\PyInstaller.egg-info\dependency_links.txt
    writing entry points to C:\Users\巩子昆\AppData\Local\Temp\pip-install-_y8nunuv\pyinstaller\pip-wheel-metadata\PyInstaller.egg-info\entry_points.txt
    writing requirements to C:\Users\巩子昆\AppData\Local\Temp\pip-install-_y8nunuv\pyinstaller\pip-wheel-metadata\PyInstaller.egg-info\requires.txt
    writing top-level names to C:\Users\巩子昆\AppData\Local\Temp\pip-install-_y8nunuv\pyinstaller\pip-wheel-metadata\PyInstaller.egg-info\top_level.txt
    writing manifest file 'C:\Users\巩子昆\AppData\Local\Temp\pip-install-_y8nunuv\pyinstaller\pip-wheel-metadata\PyInstaller.egg-info\SOURCES.txt'
    reading manifest file 'C:\Users\巩子昆\AppData\Local\Temp\pip-install-_y8nunuv\pyinstaller\pip-wheel-metadata\PyInstaller.egg-info\SOURCES.txt'
    reading manifest template 'MANIFEST.in'
    Error in sitecustomize; set PYTHONVERBOSE for traceback:
    SyntaxError: (unicode error) 'utf-8' codec can't decode byte 0xb9 in position 0: invalid start byte (sitecustomize.py, line 7)
    no previously-included directories found matching 'bootloader\build'
    no previously-included directories found matching 'bootloader\.waf-*'
    no previously-included directories found matching 'bootloader\.waf3-*'
    no previously-included directories found matching 'bootloader\waf-*'
    no previously-included directories found matching 'bootloader\waf3-*'
    no previously-included directories found matching 'bootloader\_sdks'
    no previously-included directories found matching 'bootloader\.vagrant'
    warning: no previously-included files found matching 'bootloader\.lock-waf*'
    no previously-included directories found matching 'doc\source'
    no previously-included directories found matching 'doc\_build'
    warning: no previously-included files matching '*.tmp' found under directory 'doc'
    warning: no files found matching 'news\_template.rst'
    no previously-included directories found matching 'news'
    no previously-included directories found matching 'old'
    no previously-included directories found matching 'scripts'
    no previously-included directories found matching 'tests\scripts'
    no previously-included directories found matching '.github'
    warning: no previously-included files found matching '.*'
    warning: no previously-included files found matching '*.yml'
    warning: no previously-included files found matching '*~'
    warning: no previously-included files found matching '.directory'
    writing manifest file 'C:\Users\巩子昆\AppData\Local\Temp\pip-install-_y8nunuv\pyinstaller\pip-wheel-metadata\PyInstaller.egg-info\SOURCES.txt'
    creating 'C:\Users\巩子昆\AppData\Local\Temp\pip-install-_y8nunuv\pyinstaller\pip-wheel-metadata\PyInstaller.dist-info'
    error: invalid command 'bdist_wheel'
    ----------------------------------------
ERROR: Command errored out with exit status 1: 'c:\users\巩子昆\appdata\local\programs\python\python37-32\python.exe' 'c:\users\巩子昆\appdata\local\programs\python\python37-32\lib\site-packages\pip\_vendor\pep517\_in_process.py' prepare_metadata_for_build_wheel 'C:\Users\巩子昆\AppData\Local\Temp\tmp5hj8yy69' Check the logs for full command output.

饶了我吧 我就一小白

  • 写回答

3条回答 默认 最新

  • 梦 尘 2020-06-02 14:07
    关注

    Preparing wheel metadata ... error
    重点是这一句话,缺少了一个wheel文件
    pip install wheel -i https://pypi.tuna.tsinghua.edu.cn/simple
    先执行这一句再执行你之前的

    评论

报告相同问题?

悬赏问题

  • ¥15 微带串馈天线阵列每个阵元宽度计算
  • ¥15 keil的map文件中Image component sizes各项意思
  • ¥30 BC260Y用MQTT向阿里云发布主题消息一直错误
  • ¥20 求个正点原子stm32f407开发版的贪吃蛇游戏
  • ¥15 划分vlan后,链路不通了?
  • ¥20 求各位懂行的人,注册表能不能看到usb使用得具体信息,干了什么,传输了什么数据
  • ¥15 Vue3 大型图片数据拖动排序
  • ¥15 Centos / PETGEM
  • ¥15 划分vlan后不通了
  • ¥20 用雷电模拟器安装百达屋apk一直闪退