由网友(亚╮蒙夫)分享简介:我在Fedora 30上有以下代码:try :subprocess.call(["gio", "open", path_to_pdf])在包括Fedora 29在内的其他Linux系统上,使用Pyinstaller生成的独立应用程序运行良好。但当我在Fedora 30上运行这段生成的代码时,我面临以下错误:gio: f...![C 网络应用程序基础.pdf](https://p.xsw88.cn/allimgs/daicuo/20230903/3910.png)
我在Fedora 30上有以下代码:
try :
subprocess.call(["gio", "open", path_to_pdf])
在包括Fedora 29在内的其他Linux系统上,使用Pyinstaller生成的独立应用程序运行良好。
![C 网络应用程序基础.pdf](https://p.xsw88.cn/allimgs/daicuo/20230903/3910.png)
但当我在Fedora 30上运行这段生成的代码时,我面临以下错误:
gio: file:///tmp/tmpxxxxx.pdf: No application is registered as handling this file
注意: 我在Ubuntu/Mint/Debian下遇到了一些问题,但可以使用该命令解决它(在系统Linux上操作):
aa-complain /usr/bin/evince
这与Fedora 30上的阻止类型相同吗?
感谢您的关注
推荐答案
问题已解决:
此问题源于Matplotlib 3.0.1和PyInstaller 3.4之间的某种不兼容。 升级到Matplotlib 3.0.3解决了问题...
相关推荐
最新文章