from gi.repository import Gtk, GObject
生活随笔
收集整理的這篇文章主要介紹了
from gi.repository import Gtk, GObject
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
Traceback (most recent call last):
File "/usr/bin/software-center", line 25, in
from gi.repository import Gtk, GObject
ImportError: No module named repository
這個文件關乎很多軟件的打開與否??????
錯誤解決:
卸載python的東西
pip uninstall gi
sudo apt install (裝得的東西太多,記得不太清楚了)
可以嘗試 python-gobject python3-gobject
best wishes!!!!
轉載于:https://www.cnblogs.com/eat-too-much/p/7685385.html
總結
以上是生活随笔為你收集整理的from gi.repository import Gtk, GObject的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 9.exe清理过程
- 下一篇: vue-cli打包后的思索--代码优化