ModuleNotFoundError: No module named 'nodes'
When i run the comfyui(v0.3.13) in win11, i can not convert :
` python .\comfyui_to_python.py Traceback (most recent call last):
File "D:\code\comfyui\ins\custom_nodes\ComfyUI-to-Python-Extension\comfyui_to_python.py", line 24, in
ModuleNotFoundError: No module named 'nodes'`
Pls have you solved this problem
having this issue too
+1
This issue occurs because the ComfyUI path is not included in the system's Python paths. To resolve it, you can manually add your ComfyUI directory path to the system paths. This can be done by modifying the path configuration in the following file: https://github.com/pydn/ComfyUI-to-Python-Extension/blob/1c0585fabed4d741636798583af10dd5ebb00305/comfyui_to_python_utils.py#L55
It is recommended to use portable comfyui instead of desktop version, and then use my pr version, https://github.com/pydn/ComfyUI-to-Python-Extension/pull/133