ModuleNotFoundError: No module named 'cchardet' #2700
beardstyleai
started this conversation in
General
Replies: 1 comment
-
Hello, I encountered the same issue. To fix, you will need to Hopefully it helps! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Traceback (most recent call last):
File "/usr/local/lib/python3.10/dist-packages/aiohttp/client_reqrep.py", line 70, in
import cchardet as chardet
ModuleNotFoundError: No module named 'cchardet'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/content/gdrive/MyDrive/sd/stable-diffusion-webui/webui.py", line 22, in
import gradio
File "/usr/local/lib/python3.10/dist-packages/gradio/init.py", line 3, in
import gradio.components as components
File "/usr/local/lib/python3.10/dist-packages/gradio/components.py", line 34, in
from gradio import media_data, processing_utils, utils
File "/usr/local/lib/python3.10/dist-packages/gradio/processing_utils.py", line 23, in
from gradio import encryptor, utils
File "/usr/local/lib/python3.10/dist-packages/gradio/utils.py", line 38, in
import aiohttp
File "/usr/local/lib/python3.10/dist-packages/aiohttp/init.py", line 6, in
from .client import (
File "/usr/local/lib/python3.10/dist-packages/aiohttp/client.py", line 59, in
from .client_reqrep import (
File "/usr/local/lib/python3.10/dist-packages/aiohttp/client_reqrep.py", line 72, in
import charset_normalizer as chardet # type: ignore[no-redef]
File "/usr/local/lib/python3.10/dist-packages/charset_normalizer/init.py", line 24, in
from .api import from_bytes, from_fp, from_path
File "/usr/local/lib/python3.10/dist-packages/charset_normalizer/api.py", line 5, in
from .cd import (
File "/usr/local/lib/python3.10/dist-packages/charset_normalizer/cd.py", line 9, in
from .md import is_suspiciously_successive_range
AttributeError: partially initialized module 'charset_normalizer' has no attribute 'md__mypyc' (most likely due to a circular import)
Beta Was this translation helpful? Give feedback.
All reactions