2023-12-03, 10:14
I'm working on video add-on. Every time when I'm using requests python library, I take this error (stacktrace):
```
Error Type: <class 'SystemError'>
Error Contents: initialization of md__mypyc did not return an extension module
Traceback (most recent call last):
File "/home/bob/.kodi/addons/plugin.video.wco/default.py", line 1, in <module>
from resources.lib import wco_browser as wco
File "/home/bob/.kodi/addons/plugin.video.wco/resources/lib/wco_browser.py", line 4, in <module>
import cfscrape
File "/home/bob/.local/lib/python3.10/site-packages/cfscrape/__init__.py", line 14, in <module>
from requests.sessions import Session
File "/home/bob/.kodi/addons/script.module.requests/lib/requests/__init__.py", line 48, in <module>
from charset_normalizer import __version__ as charset_normalizer_version
File "/home/bob/.local/lib/python3.10/site-packages/charset_normalizer/__init__.py", line 24, in <module>
from .api import from_bytes, from_fp, from_path, is_binary
File "/home/bob/.local/lib/python3.10/site-packages/charset_normalizer/api.py", line 5, in <module>
from .cd import (
File "/home/bob/.local/lib/python3.10/site-packages/charset_normalizer/cd.py", line 14, in <module>
from .md import is_suspiciously_successive_range
SystemError: initialization of md__mypyc did not return an extension module
-->End of Python script error report<--
```
How can I fix that issue?
```
Error Type: <class 'SystemError'>
Error Contents: initialization of md__mypyc did not return an extension module
Traceback (most recent call last):
File "/home/bob/.kodi/addons/plugin.video.wco/default.py", line 1, in <module>
from resources.lib import wco_browser as wco
File "/home/bob/.kodi/addons/plugin.video.wco/resources/lib/wco_browser.py", line 4, in <module>
import cfscrape
File "/home/bob/.local/lib/python3.10/site-packages/cfscrape/__init__.py", line 14, in <module>
from requests.sessions import Session
File "/home/bob/.kodi/addons/script.module.requests/lib/requests/__init__.py", line 48, in <module>
from charset_normalizer import __version__ as charset_normalizer_version
File "/home/bob/.local/lib/python3.10/site-packages/charset_normalizer/__init__.py", line 24, in <module>
from .api import from_bytes, from_fp, from_path, is_binary
File "/home/bob/.local/lib/python3.10/site-packages/charset_normalizer/api.py", line 5, in <module>
from .cd import (
File "/home/bob/.local/lib/python3.10/site-packages/charset_normalizer/cd.py", line 14, in <module>
from .md import is_suspiciously_successive_range
SystemError: initialization of md__mypyc did not return an extension module
-->End of Python script error report<--
```
How can I fix that issue?