记录一下装pyinstaller和生成exe遇到的错误
下次再遇到这个问题可以直接看最后(?maybe)
问题:重装了一遍python,自定义安装时报错,Error Writing to file:…
解决办法:以管理员身份运行
ps:默认安装没有报错
链接:https://www.cnblogs.com/shuaishuaidefeizhu/p/10196882.html

问题:用pip install pyinstaller命令安装时出现TypeError:‘module’ object is not callable
解决方法:前面加上python -m 用python -m pip install pyinstaller解决,开始出现进度条
链接:https://stackoverflow.com/questions/58451650/pip-no-longer-working-after-update-error-module-object-is-not-callable

问题:安装pyinstaller时报错error: invalid command 'bdist_wheel
解决办法:前面加上python -m ,用python -m pip install wheel成功
链接:https://blog.youkuaiyun.com/chouzhou9701/article/details/86662689

这篇博客记录了在使用Python安装pyinstaller模块和生成exe过程中遇到的错误及解决方案,包括'Error Writing to file'、'module object is not callable'、'invalid command 'bdist_wheel''和'TypeError: an integer is required'。通过以管理员身份运行、使用python -m命令、安装wheel模块以及从GitHub重装pyinstaller解决了问题。
最低0.47元/天 解锁文章
4204

被折叠的 条评论
为什么被折叠?



