Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Starting doesn't work #307

Closed
vit-cerny opened this issue May 1, 2024 · 3 comments
Closed

Starting doesn't work #307

vit-cerny opened this issue May 1, 2024 · 3 comments

Comments

@vit-cerny
Copy link

Traceback (most recent call last):
File "E:\tts-webui\one-click-installers-tts-6.0\installer_files\env\lib\site-packages\requests\compat.py", line 11, in
import chardet
ModuleNotFoundError: No module named 'chardet'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "E:\tts-webui\one-click-installers-tts-6.0\tts-generation-webui\server.py", line 4, in
import gradio as gr
File "E:\tts-webui\one-click-installers-tts-6.0\installer_files\env\lib\site-packages\gradio_init_.py", line 3, in
import gradio.components as components
File "E:\tts-webui\one-click-installers-tts-6.0\installer_files\env\lib\site-packages\gradio\components_init_.py", line 1, in
from gradio.components.annotated_image import AnnotatedImage
File "E:\tts-webui\one-click-installers-tts-6.0\installer_files\env\lib\site-packages\gradio\components\annotated_image.py", line 9, in
from gradio_client.documentation import document, set_documentation_group
File "E:\tts-webui\one-click-installers-tts-6.0\installer_files\env\lib\site-packages\gradio_client_init_.py", line 1, in
from gradio_client.client import Client
File "E:\tts-webui\one-click-installers-tts-6.0\installer_files\env\lib\site-packages\gradio_client\client.py", line 22, in
import requests
File "E:\tts-webui\one-click-installers-tts-6.0\installer_files\env\lib\site-packages\requests_init_.py", line 45, in
from .exceptions import RequestsDependencyWarning
File "E:\tts-webui\one-click-installers-tts-6.0\installer_files\env\lib\site-packages\requests\exceptions.py", line 9, in
from .compat import JSONDecodeError as CompatJSONDecodeError
File "E:\tts-webui\one-click-installers-tts-6.0\installer_files\env\lib\site-packages\requests\compat.py", line 13, in
import charset_normalizer as chardet
File "E:\tts-webui\one-click-installers-tts-6.0\installer_files\env\lib\site-packages\charset_normalizer_init_.py", line 23, in
from charset_normalizer.api import from_fp, from_path, from_bytes, normalize
File "E:\tts-webui\one-click-installers-tts-6.0\installer_files\env\lib\site-packages\charset_normalizer\api.py", line 10, in
from charset_normalizer.md import mess_ratio
File "charset_normalizer\md.py", line 5, in
ImportError: cannot import name 'COMMON_SAFE_ASCII_CHARACTERS' from 'charset_normalizer.constant' (E:\tts-webui\one-click-installers-tts-6.0\installer_files\env\lib\site-packages\charset_normalizer\constant.py)

Done!
Press any key to continue . . .

@HDJ-W
Copy link

HDJ-W commented May 22, 2024

same problem: solved!

  • go to path = one-click-installers-tts-6.0\

there in powershell type:
installer_files\env\python3 -m pip install chardet

@vit-cerny
Copy link
Author

thanks, sorry for being late

@rsxdalv
Copy link
Owner

rsxdalv commented May 30, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants