Quando instalei o variety ele funcionava normalmente mas um dia ele simplesmente parou de funcionar. Quando tento chama-lo pelo terminal recebo essa resposta:
Traceback (most recent call last):
File "/usr/bin/variety", line 64, in <module>
import variety # isort:skip
File "/usr/lib/python3/dist-packages/variety/__init__.py", line 62, in <module>
from variety import VarietyWindow, ThumbsManager, ThumbsWindow
File "/usr/lib/python3/dist-packages/variety/VarietyWindow.py", line 34, in <module>
from variety import indicator
File "/usr/lib/python3/dist-packages/variety/indicator.py", line 24, in <module>
from variety.Util import Util, _
File "/usr/lib/python3/dist-packages/variety/Util.py", line 37, in <module>
import requests
File "/home/veras/.local/lib/python3.10/site-packages/requests/__init__.py", line 147, in <module>
from . import packages, utils
File "/home/veras/.local/lib/python3.10/site-packages/requests/packages/__init__.py", line 3, in <module>
from . import urllib3
File "/home/veras/.local/lib/python3.10/site-packages/requests/packages/urllib3/__init__.py", line 10, in <module>
from .connectionpool import (
File "/home/veras/.local/lib/python3.10/site-packages/requests/packages/urllib3/connectionpool.py", line 38, in <module>
from .response import HTTPResponse
File "/home/veras/.local/lib/python3.10/site-packages/requests/packages/urllib3/response.py", line 5, in <module>
from ._collections import HTTPHeaderDict
File "/home/veras/.local/lib/python3.10/site-packages/requests/packages/urllib3/_collections.py", line 1, in <module>
from collections import Mapping, MutableMapping
ImportError: cannot import name 'Mapping' from 'collections' (/usr/lib/python3.10/collections/__init__.py)
Sistema: pop_os! 22.04 LTS
Já pesquisei sobre isso mas não encontrei uma resposta satisfatória, também abri uma issue no repositório do pop_os!, mas não obtive resposta.
Link da issue: Any app don't working on pop_os! 22.04 LTS, because of python? · Issue #3159 · pop-os/pop · GitHub
Nota: Já tentei reinstalar pela pop shop e pela terminal sudo apt install variety
, em ambos o erro persiste.