python安装pyinstaller模块失败_python安装【pyinstaller】出错解决办法

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

输入: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模块失败_python安装【pyinstaller】出错解决办法)