![](https://img-blog.csdnimg.cn/20201014180756919.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
pyinstaller
文章平均质量分 60
线上放牧人
这个作者很懒,什么都没留下…
展开
-
pyinstaller打包报错(qt-material)
在程序中,用到了qt-material库,IDE中一切正常,使用pyinstaller打包时,报错如下:报错说是Path没有home属性,经过查找,找到了qt-material安装包resource目录下有一个generate.py文件,在文件中使用了pathlib库,源文件代码如下,这时候把Path.home()一行注释掉,写自己用户的家目录即可,他会到家目录下的.qt-material获取文件,注意,不是每台电脑都会出现这个问题,出现问题后按照说明修改就好第二种解决办法就是,程序打包完成后,将q原创 2022-04-13 22:55:02 · 2603 阅读 · 0 评论 -
pyinstaller多文件打包
多文件打包参考:Pyinstaller 打包发布经验总结_YanHua_jake的博客-CSDN博客原创 2021-11-18 19:29:25 · 1629 阅读 · 0 评论 -
pyinstaller 打包报错Failed to determine matplotlib‘s data directory
pyqt中使用了matplotlib库,在使用pyinstaller打包的时候,报错Failed to determine matplotlib's data directory,网上好多解决办法都没有用,这里介绍一种有用的方法。参考:python - Matplotlib directory not found while using Pyinstaller to create exe from py files - Stack Overflow找到该文件:目录:D:\Progr原创 2022-04-08 16:00:21 · 2845 阅读 · 0 评论