简体   繁体   English

安装pyInstaller时如何修复错误

[英]How do I fix error when installing pyInstaller

I use and v3.8.1.我使用 v3.8.1。 I am trying to , but when I type:我正在尝试 ,但是当我输入:

pip install pyinstaller

into the shell, I get this error message:进入 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.

相关问题 安装 pyinstaller 4.3 版时出错。 如何解决? - Error when installing pyinstaller version 4.3. How to fix it? 如何修复在 mac 上安装 pyinstaller 时出现的错误? - How to fix error in installing pyinstaller on mac? 在 Python 中安装 pyPDF2 时如何修复此错误 - How do I fix this error when installing pyPDF2 in Python 如何修复安装 Python 时出现的错误消息“`brew link` 步骤未成功完成”? - How do I fix the error message “The `brew link` step did not complete successfully” when installing Python? 安装 scikit-image Python 库时如何修复错误? - How do I fix an error when installing scikit-image Python Library? 安装petsc4py以在openmdao中使用时如何解决版本错误 - How do I fix version error when installing petsc4py for use in openmdao 如何修复在 Python 中安装 numpy 时收到的错误? - How to fix the error that I receive when installing numpy in Python? 安装Kivy Designer时如何解决此错误? - How can i fix this error when installing kivy designer? 在 python 中安装 arpreq 时如何修复错误? - How can i fix the error when installing arpreq in python? Pyinstaller 将图像放在单独的文件上问题? 我该如何解决? - Pyinstaller Placing Images On Separate File Problem? How Do I Fix This?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM