我的 lutris 安装坏了,在经历了一周的错误之后,我被停止了。
lutris 吐出这个错误信息
Traceback (most recent call last):
File "/usr/bin/lutris", line 34, in <module>
from lutris.gui.application import Application
File "/usr/lib/python3/dist-packages/lutris/gui/application.py", line 34, in <module>
from lutris.game import Game
File "/usr/lib/python3/dist-packages/lutris/game.py", line 11, in <module>
from lutris import runtime
File "/usr/lib/python3/dist-packages/lutris/runtime.py", line 7, in <module>
from lutris.util import http, jobs, system
File "/usr/lib/python3/dist-packages/lutris/util/http.py", line 3, in <module>
import urllib.request
ModuleNotFoundError: No module named 'urllib'
Error in sys.excepthook:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/apport_python_hook.py", line 63, in apport_excepthook
from apport.fileutils import likely_packaged, get_recent_crashes
File "/usr/lib/python3/dist-packages/apport/__init__.py", line 5, in <module>
from apport.report import Report
File "/usr/lib/python3/dist-packages/apport/report.py", line 20, in <module>
from urllib.error import URLError
ModuleNotFoundError: No module named 'urllib'
Original exception was:
Traceback (most recent call last):
File "/usr/bin/lutris", line 34, in <module>
from lutris.gui.application import Application
File "/usr/lib/python3/dist-packages/lutris/gui/application.py", line 34, in <module>
from lutris.game import Game
File "/usr/lib/python3/dist-packages/lutris/game.py", line 11, in <module>
from lutris import runtime
File "/usr/lib/python3/dist-packages/lutris/runtime.py", line 7, in <module>
from lutris.util import http, jobs, system
File "/usr/lib/python3/dist-packages/lutris/util/http.py", line 3, in <module>
import urllib.request
ModuleNotFoundError: No module named 'urllib'
于是我求助于 pip,结果发生了这种情况。无论我输入什么,pip 总是会弹出这个错误消息,我已经尝试解决这个问题两天了,但毫无头绪。
Traceback (most recent call last):
File "/usr/bin/pip", line 9, in <module>
from pip._internal import main
File "/usr/lib/python2.7/dist-packages/pip/_internal/__init__.py", line 19, in <module>
from pip._vendor.urllib3.exceptions import DependencyWarning
ImportError: No module named urllib3.exceptions
我不知道该怎么办,也不知道该问谁,所以我就把它放在这里。我使用的是 19.10,使用默认的 DM、DE、WM 和内核。