出错信息如下:

FileNotFoundError: [WinError 3] 系统找不到指定的路径。: 'C:\\Users\\xxxx\\AppD
ata\\Roaming\\pyinstaller\\bincache00_py37_64bit\\pyqt5\\qt\\plugins\\iconengine
s\\qsvgicon.dll'

 

解决方法:

(1)找到pyinstaller所在路径

使用pyinstaller打包pyqt文件时出错

 

(2)将要打包的文件拷贝到pyinstaller所在文件夹下再执行打包命令。

pyinstaller -Fw calc.py

 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-01-20
  • 2021-11-13
  • 2022-12-23
  • 2021-12-26
  • 2022-02-15
  • 2021-11-20
猜你喜欢
  • 2022-12-23
  • 2021-10-09
  • 2021-04-25
  • 2021-09-18
  • 2022-03-08
  • 2021-07-29
  • 2021-09-11
相关资源
相似解决方案