[英]How do I fix error when installing pyInstaller
I use windows and python v3.8.1.我使用windows和python v3.8.1。 I am trying to install pyinstaller , but when I type:
我正在尝试安装pyinstaller ,但是当我输入:
pip install pyinstaller
into the cmd shell, I get this error message:进入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
Try尝试
python3 -m pip install stdlib_list --user
Otherwise try to uninstall and reinstall PIP否则尝试卸载并重新安装 PIP
尝试使用以下命令python3 -m pip install <library_name_here> --user
Check this, using: pip list检查这一点,使用:pip list
There is a setuptools module installed.安装了一个 setuptools 模块。 If not: py -m pip install setuptools
如果没有: py -m pip install setuptools
I remember latest version is 44.0我记得最新版本是 44.0
Then try to install, using: py -m pip install PyInstaller然后尝试安装,使用: py -m pip install PyInstaller
Latest version is 3.5
Anyway, PyInstaller doesn't support Python 3.8.x.
无论如何, PyInstaller不支持 Python 3.8.x。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.