Traceback (most recent call last):
File "/home/linkus/.pyenv/versions/3.12.0a3/lib/python3.12/site-packages/requests/compat.py", line 11, in <module>
import chardet
ModuleNotFoundError: No module named 'chardet'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/linkus/.pyenv/versions/3.12.0a3/bin/chat_downloader", line 5, in <module>
from chat_downloader.cli import main
File "/home/linkus/.pyenv/versions/3.12.0a3/lib/python3.12/site-packages/chat_downloader/__init__.py", line 3, in <module>
from .chat_downloader import (
File "/home/linkus/.pyenv/versions/3.12.0a3/lib/python3.12/site-packages/chat_downloader/chat_downloader.py", line 11, in <module>
from .sites.common import (
File "/home/linkus/.pyenv/versions/3.12.0a3/lib/python3.12/site-packages/chat_downloader/sites/__init__.py", line 3, in <module>
from .youtube import YouTubeChatDownloader
File "/home/linkus/.pyenv/versions/3.12.0a3/lib/python3.12/site-packages/chat_downloader/sites/youtube.py", line 2, in <module>
from .common import (
File "/home/linkus/.pyenv/versions/3.12.0a3/lib/python3.12/site-packages/chat_downloader/sites/common.py", line 2, in <module>
import requests
File "/home/linkus/.pyenv/versions/3.12.0a3/lib/python3.12/site-packages/requests/__init__.py", line 45, in <module>
from .exceptions import RequestsDependencyWarning
File "/home/linkus/.pyenv/versions/3.12.0a3/lib/python3.12/site-packages/requests/exceptions.py", line 9, in <module>
from .compat import JSONDecodeError as CompatJSONDecodeError
File "/home/linkus/.pyenv/versions/3.12.0a3/lib/python3.12/site-packages/requests/compat.py", line 13, in <module>
import charset_normalizer as chardet
File "/home/linkus/.pyenv/versions/3.12.0a3/lib/python3.12/site-packages/charset_normalizer/__init__.py", line 24, in <module>
from .api import from_bytes, from_fp, from_path, is_binary
File "/home/linkus/.pyenv/versions/3.12.0a3/lib/python3.12/site-packages/charset_normalizer/api.py", line 5, in <module>
from .cd import (
File "/home/linkus/.pyenv/versions/3.12.0a3/lib/python3.12/site-packages/charset_normalizer/cd.py", line 14, in <module>
from .md import is_suspiciously_successive_range
ImportError: /home/linkus/.pyenv/versions/3.12.0a3/lib/python3.12/site-packages/charset_normalizer/md__mypyc.cpython-312-x86_64-linux-gnu.so: undefined symbol: _PyErr_ChainExceptions1
Solution, pip install chardet