-
Notifications
You must be signed in to change notification settings - Fork 161
明明utils都存在,并且 都有__init__.py 和 json_util.py 还是一直提示不是一个包 #117
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
Comments
same issue |
这个版本麻烦,我之前用的老版本不会。 这个版本还要屏蔽 官方的 导入代码才可以 |
需要修改一下comfyui_to_python_utils.py
|
先将comfyui_to_python_utils.py和comfyui_to_python.py这两个文件移动到comfyui目录下,然后修改comfyui_to_python_utils.py只需要在import server之前import utils.extra_config就行 |
把 workflow.py 放到 Comfyui/workflow.py 然后在 Comfyui 目录下 python workflow.py 可以运行 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Current working directory: D:\ComfyUI\custom_nodes\ComfyUI-to-Python-Extension
ComfyUI found: D:\ComfyUI
'D:\ComfyUI' added to sys.path
Traceback (most recent call last):
File "D:\ComfyUI\custom_nodes\ComfyUI-to-Python-Extension\comfyui_to_python.py", line 651, in
main()
File "D:\ComfyUI\custom_nodes\ComfyUI-to-Python-Extension\comfyui_to_python.py", line 645, in main
run(**vars(pargs))
File "D:\ComfyUI\custom_nodes\ComfyUI-to-Python-Extension\comfyui_to_python.py", line 610, in run
ComfyUItoPython(
File "D:\ComfyUI\custom_nodes\ComfyUI-to-Python-Extension\comfyui_to_python.py", line 554, in init
self.execute()
File "D:\ComfyUI\custom_nodes\ComfyUI-to-Python-Extension\comfyui_to_python.py", line 564, in execute
import_custom_nodes()
File "D:\ComfyUI\custom_nodes\ComfyUI-to-Python-Extension\comfyui_to_python_utils.py", line 15, in import_custom_nodes
import server
File "D:\ComfyUI\server.py", line 34, in
from app.custom_node_manager import CustomNodeManager
File "D:\ComfyUI\app\custom_node_manager.py", line 11, in
from utils.json_util import merge_json_recursive
ModuleNotFoundError: No module named 'utils.json_util'; 'utils' is not a package
The text was updated successfully, but these errors were encountered: