satoharu@opt-cps1:~$ wakatime
Traceback (most recent call last):
File "/home/satoharu/.pyenv/versions/3.10.0/bin/wakatime", line 5, in <module>
from wakatime.__init__ import execute
File "/home/satoharu/.pyenv/versions/3.10.0/lib/python3.10/site-packages/wakatime/__init__.py", line 17, in <module>
from .main import execute
File "/home/satoharu/.pyenv/versions/3.10.0/lib/python3.10/site-packages/wakatime/main.py", line 32, in <module>
from .api import send_heartbeats, get_time_today
File "/home/satoharu/.pyenv/versions/3.10.0/lib/python3.10/site-packages/wakatime/api.py", line 22, in <module>
from .session_cache import SessionCache
File "/home/satoharu/.pyenv/versions/3.10.0/lib/python3.10/site-packages/wakatime/session_cache.py", line 26, in <module>
from .packages import requests
File "/home/satoharu/.pyenv/versions/3.10.0/lib/python3.10/site-packages/wakatime/packages/requests/__init__.py", line 43, in <module>
import urllib3
File "/home/satoharu/.pyenv/versions/3.10.0/lib/python3.10/site-packages/wakatime/packages/urllib3/__init__.py", line 8, in <module>
from .connectionpool import (
File "/home/satoharu/.pyenv/versions/3.10.0/lib/python3.10/site-packages/wakatime/packages/urllib3/connectionpool.py", line 29, in <module>
from .connection import (
File "/home/satoharu/.pyenv/versions/3.10.0/lib/python3.10/site-packages/wakatime/packages/urllib3/connection.py", line 39, in <module>
from .util.ssl_ import (
File "/home/satoharu/.pyenv/versions/3.10.0/lib/python3.10/site-packages/wakatime/packages/urllib3/util/__init__.py", line 3, in <module>
from .connection import is_connection_dropped
File "/home/satoharu/.pyenv/versions/3.10.0/lib/python3.10/site-packages/wakatime/packages/urllib3/util/connection.py", line 3, in <module>
from .wait import wait_for_read
File "/home/satoharu/.pyenv/versions/3.10.0/lib/python3.10/site-packages/wakatime/packages/urllib3/util/wait.py", line 1, in <module>
from .selectors import (
File "/home/satoharu/.pyenv/versions/3.10.0/lib/python3.10/site-packages/wakatime/packages/urllib3/util/selectors.py", line 14, in <module>
from collections import namedtuple, Mapping
ImportError: cannot import name 'Mapping' from 'collections' (/home/satoharu/.pyenv/versions/3.10.0/lib/python3.10/collections/__init__.py)
Environment:
OS: linux (Ubuntu 20.04.3 LTS)
Platform: Intel(R) Xeon(R) Silver 4210R CPU @ 2.40GHz
Expected behavior (what should have happened):
Actual behavior (what went wrong):
Environment:
Logs: