pyinstaller:各种错误及解决方法

1、DLL load failed

说明没有找到某个DLL

解决方法:

在 D:\Anaconda\Anaconda3\Library\bin 下找到缺失的DLL,复制到dist下

 

2、No module named xxx

https://blog.csdn.net/ouening/article/details/53490847

 

3、UnicodeDecodeError: 'utf-8' codec can't decode byte 0xce...

解决方法:打包命令行前运行chcp 65001

posted @ 2021-04-15 20:30  ShineLe  阅读(1402)  评论(0)    收藏  举报