[英]How do I fix error when installing pyInstaller
我使用windows和python v3.8.1。 我正在嘗試安裝pyinstaller ,但是當我輸入:
pip install pyinstaller
進入cmd shell,我收到此錯誤消息:
Traceback (most recent call last): File "c:\\program files\\python38\\lib\\runpy.py", line 193, in _run_module_as_main return _run_code(code, main_globals, None, File "c:\\program files\\python38\\lib\\runpy.py", line 86, in _run_code exec(code, run_globals) File "C:\\Program Files\\Python38\\Scripts\\pip.exe\\__main__.py", line 9, in <module> TypeError: 'module' object is not callable
嘗試
python3 -m pip install stdlib_list --user
否則嘗試卸載並重新安裝 PIP
嘗試使用以下命令python3 -m pip install <library_name_here> --user
檢查這一點,使用:pip list
安裝了一個 setuptools 模塊。 如果沒有: py -m pip install setuptools
我記得最新版本是 44.0
然后嘗試安裝,使用: py -m pip install PyInstaller
Latest version is 3.5
無論如何, PyInstaller不支持 Python 3.8.x。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.