RVC-Boss / GPT-SoVITS

1 min voice data can also be used to train a good TTS model! (few shot voice cloning)
MIT License
35.28k stars 4.03k forks source link

error occured while I click on the "go-webui.bat" #1614

Closed fatdennis closed 1 month ago

fatdennis commented 1 month ago

D:\GPT-SoVITS-v2-240821>runtime\python.exe webui.py Traceback (most recent call last): File "D:\GPT-SoVITS-v2-240821\webui.py", line 48, in from tools import my_utils File "D:\GPT-SoVITS-v2-240821\tools\my_utils.py", line 4, in import gradio as gr File "D:\GPT-SoVITS-v2-240821\runtime\lib\site-packages\gradio__init.py", line 3, in import gradio._simple_templates File "D:\GPT-SoVITS-v2-240821\runtime\lib\site-packages\gradio_simple_templates__init.py", line 1, in from .simpledropdown import SimpleDropdown File "D:\GPT-SoVITS-v2-240821\runtime\lib\site-packages\gradio_simple_templates\simpledropdown.py", line 6, in from gradio.components.base import FormComponent File "D:\GPT-SoVITS-v2-240821\runtime\lib\site-packages\gradio\components\init__.py", line 1, in from gradio.components.annotated_image import AnnotatedImage File "D:\GPT-SoVITS-v2-240821\runtime\lib\site-packages\gradio\components\annotated_image.py", line 13, in from gradio import processing_utils, utils File "D:\GPT-SoVITS-v2-240821\runtime\lib\site-packages\gradio\processing_utils.py", line 21, in from gradio import utils, wasm_utils File "D:\GPT-SoVITS-v2-240821\runtime\lib\site-packages\gradio\utils.py", line 52, in from gradio.data_classes import FileData File "D:\GPT-SoVITS-v2-240821\runtime\lib\site-packages\gradio\data_classes.py", line 18, in from pydantic import BaseModel, RootModel, ValidationError ImportError: cannot import name 'RootModel' from 'pydantic' (C:\Users\Dennis\AppData\Roaming\Python\Python39\site-packages\pydantic\init__.cp39-win_amd64.pyd)

D:\GPT-SoVITS-v2-240821>pause 請按任意鍵繼續 . . .

Then, cannot proceed further

bfloat16 commented 1 month ago

删掉系统里面自带的python

fatdennis commented 1 month ago

删掉系统里面自带的python

如果uninstall python的,其他AI app會否有影響?

bfloat16 commented 1 month ago

删掉系统里面自带的python

如果uninstall python的,其他AI app會否有影響?

如果别的app使用的是系统里面的python,那会有影响 如果是自带python运行环境则没问题

RVC-Boss commented 1 month ago

改下你系统的python根目录文件夹名称,要用的时候再改回来也行,或者有人提出独立环境不参考系统环境影响的办法