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

项目无法启动 #361

Open
liufeng4466 opened this issue Jan 7, 2025 · 0 comments
Open

项目无法启动 #361

liufeng4466 opened this issue Jan 7, 2025 · 0 comments

Comments

@liufeng4466
Copy link

AttributeError: module 'attr' has no attribute 'has'
Traceback:
File "D:\ProgramData\miniconda3\envs\MinerU\lib\site-packages\streamlit\runtime\scriptrunner\exec_code.py", line 88, in exec_func_with_error_handling
result = func()
File "D:\ProgramData\miniconda3\envs\MinerU\lib\site-packages\streamlit\runtime\scriptrunner\script_runner.py", line 590, in code_to_exec
exec(code, module.dict)
File "E:\python_workspace\VideoLingo-2.1.2\st.py", line 3, in
from st_components.imports_and_utils import *
File "E:\python_workspace\VideoLingo-2.1.2\st_components\imports_and_utils.py", line 3, in
from core import (
File "E:\python_workspace\VideoLingo-2.1.2\core\step2_whisperX.py", line 17, in
from core.all_whisper_methods.demucs_vl import demucs_main, RAW_AUDIO_FILE, VOCAL_AUDIO_FILE
File "E:\python_workspace\VideoLingo-2.1.2\core\all_whisper_methods\demucs_vl.py", line 6, in
from demucs.pretrained import get_model
File "D:\ProgramData\miniconda3\envs\MinerU\lib\site-packages\demucs\pretrained.py", line 13, in
from dora.log import fatal, bold
File "D:\ProgramData\miniconda3\envs\MinerU\lib\site-packages\dora_init_.py", line 68, in
import hydra
File "D:\ProgramData\miniconda3\envs\MinerU\lib\site-packages\hydra_init_.py", line 5, in
from hydra import utils
File "D:\ProgramData\miniconda3\envs\MinerU\lib\site-packages\hydra\utils.py", line 8, in
import hydra._internal.instantiate._instantiate2
File "D:\ProgramData\miniconda3\envs\MinerU\lib\site-packages\hydra_internal\instantiate_instantiate2.py", line 12, in
from hydra._internal.utils import locate
File "D:\ProgramData\miniconda3\envs\MinerU\lib\site-packages\hydra_internal\utils.py", line 18, in
from hydra.core.utils import get_valid_filename, validate_config_path
File "D:\ProgramData\miniconda3\envs\MinerU\lib\site-packages\hydra\core\utils.py", line 20, in
from hydra.core.hydra_config import HydraConfig
File "D:\ProgramData\miniconda3\envs\MinerU\lib\site-packages\hydra\core\hydra_config.py", line 6, in
from hydra.conf import HydraConf
File "D:\ProgramData\miniconda3\envs\MinerU\lib\site-packages\hydra\conf_init
.py", line 179, in
cs.store(
File "D:\ProgramData\miniconda3\envs\MinerU\lib\site-packages\hydra\core\config_store.py", line 85, in store
cfg = OmegaConf.structured(node)
File "D:\ProgramData\miniconda3\envs\MinerU\lib\site-packages\omegaconf\omegaconf.py", line 125, in structured
return OmegaConf.create(obj, parent, flags)
File "D:\ProgramData\miniconda3\envs\MinerU\lib\site-packages\omegaconf\omegaconf.py", line 178, in create
return OmegaConf._create_impl(
File "D:\ProgramData\miniconda3\envs\MinerU\lib\site-packages\omegaconf\omegaconf.py", line 845, in _create_impl
or is_structured_config(obj)
File "D:\ProgramData\miniconda3\envs\MinerU\lib\site-packages\omegaconf_utils.py", line 448, in is_structured_config
return is_attr_class(obj) or is_dataclass(obj)
File "D:\ProgramData\miniconda3\envs\MinerU\lib\site-packages\omegaconf_utils.py", line 444, in is_attr_class
return attr.has(obj)

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

1 participant