美文网首页
python安装【pyinstaller】出错解决办法

python安装【pyinstaller】出错解决办法

作者: 蜡笔小强124 | 来源:发表于2020-08-27 15:17 被阅读0次

pyinstaller可将python项目,生成可执行文件!

安装pyinstaller(http://www.pyinstaller.org/downloads.html

输入:pip install pyinstaller

安装过程中,可能会遇到以下两个问题:

【问题一:】

当使用Python安装Pyinstaller之后,显示正确安装,但是在运行时,提示如下问题。

Pyinstaller cannot check for assembly dependencies.

please install Pywin32 or pywin32-ctypes

pip install pypiwin32

输入: pip install pypiwin32

继续输入:pip install pywin32-ctypes

安装完成两个模块之后再重新打包即可完成

【问题二】

使用命令安装或者安装到一半出现raise Backenduavailable

pip._vendor.pep517.wrappers.BackendUnavailable的错误

尝试将安装命令改为:

pip3 install pyinstaller --no-use-pep517

相关文章

网友评论

      本文标题:python安装【pyinstaller】出错解决办法

      本文链接:https://www.haomeiwen.com/subject/jbsajktx.html