亚洲在线久爱草,狠狠天天香蕉网,天天搞日日干久草,伊人亚洲日本欧美

為了賬號安全,請及時綁定郵箱和手機立即綁定
已解決430363個問題,去搜搜看,總會有你想問的

安裝構建依賴項...使用 pip 安裝 pyInstaller 時出錯

安裝構建依賴項...使用 pip 安裝 pyInstaller 時出錯

RISEBY 2023-07-18 15:49:39
Python版本-3.7我嘗試使用 pip 安裝 pyInstaller。我在 cmd 中收到以下輸出和錯誤消息。錯誤信息Collecting pyinstaller  Using cached pyinstaller-4.0.tar.gz (3.5 MB)  Installing build dependencies ... error  ERROR: Command errored out with exit status 1:   command: 'C:\Users\dell\AppData\Local\Programs\Python\Python37\python.exe' 'C:\Users\dell\AppData\Local\Programs\Python\Python37\lib\site-packages\pip' install --ignore-installed --no-user --prefix 'C:\Users\dell\AppData\Local\Temp\pip-build-env-d_vuoc7m\overlay' --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- 'setuptools>=40.8.0' wheel       cwd: None  Complete output (14 lines):  Traceback (most recent call last):    File "C:\Users\dell\AppData\Local\Programs\Python\Python37\lib\runpy.py", line 193, in _run_module_as_main      "__main__", mod_spec)    File "C:\Users\dell\AppData\Local\Programs\Python\Python37\lib\runpy.py", line 85, in _run_code      exec(code, run_globals)    File "C:\Users\dell\AppData\Local\Programs\Python\Python37\lib\site-packages\pip\__main__.py", line 23, in <module>      from pip._internal.cli.main import main as _main  # isort:skip # noqa    File "C:\Users\dell\AppData\Local\Programs\Python\Python37\lib\site-packages\pip\_internal\cli\main.py", line 5, in <module>      import locale    File "C:\Users\dell\AppData\Local\Programs\Python\Python37\lib\locale.py", line 16, in <module>      import re    File "C:\Users\dell\AppData\Local\Programs\Python\Python37\lib\re.py", line 143, in <module>      class RegexFlag(enum.IntFlag):  AttributeError: module 'enum' has no attribute 'IntFlag'  ----------------------------------------
查看完整描述

1 回答

?
牛魔王的故事

TA貢獻1830條經驗 獲得超3個贊

再次執行pip uninstall enum34并運行該命令。



查看完整回答
反對 回復 2023-07-18
  • 1 回答
  • 0 關注
  • 292 瀏覽
慕課專欄
更多

添加回答

舉報

0/150
提交
取消
微信客服

購課補貼
聯系客服咨詢優惠詳情

幫助反饋 APP下載

慕課網APP
您的移動學習伙伴

公眾號

掃描二維碼
關注慕課網微信公眾號