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

ImportError: cannot import name 'python_exec' from 'config ? #20

Open
samen168 opened this issue May 30, 2024 · 2 comments
Open

ImportError: cannot import name 'python_exec' from 'config ? #20

samen168 opened this issue May 30, 2024 · 2 comments

Comments

@samen168
Copy link

[2024-05-30 15:56] Traceback (most recent call last):
File "H:\sd\sd-webui-aki-v4.5-comfy\nodes.py", line 1879, in load_custom_node
module_spec.loader.exec_module(module)
File "", line 940, in exec_module
File "", line 241, in call_with_frames_removed
File "H:\sd\sd-webui-aki-v4.5-comfy\custom_nodes\ComfyUI-GPT_SoVITS_init
.py", line 37, in
from .nodes import LoadSRT,LoadAudio, GPT_SOVITS_INFER, PreViewAudio,GPT_SOVITS_FT, GPT_SOVITS_TTS
File "H:\sd\sd-webui-aki-v4.5-comfy\custom_nodes\ComfyUI-GPT_SoVITS\nodes.py", line 13, in
from .finetune import open1abc,default_batch_size,open1Ba,open1Bb
File "H:\sd\sd-webui-aki-v4.5-comfy\custom_nodes\ComfyUI-GPT_SoVITS\finetune.py", line 7, in
from config import python_exec
ImportError: cannot import name 'python_exec' from 'config' (H:\sd\sd-webui-aki-v4.5-comfy\custom_nodes\ComfyUI-BiRefNet-ZHO\config.py)

@samen168
Copy link
Author

嘛半成品,第二次尝试了,浪费时间,用作者整合包去!

@drake7707
Copy link

Unfortunately both this and ComfyUI-BiRefNet-ZHO nodes have a config.py module. This error is because it loads the wrong config.py

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

2 participants