树莓派中使用pyinstaller打包多个.py文件为exe可执行文件报错
点击打包后的exe文件运行pygame游戏模块闪退解决方案,打包后pygame游戏界面无法显示解决方法FileNotFoundError:[Errno 2] No such file or directory:‘/tmp/_MEIHEonzn/pygame/freesansbold.ttf'TvpeError:expected str. bytes or os.PathLike obiect, not BytesIo如果出现第三阶段找不到.ttf文件的问题时,可以直接修改None为系统字体
原创
2023-02-15 13:50:58 ·
1543 阅读 ·
1 评论