Open mothormothormothor opened 4 months ago
I'm getting an error when opening the
run_nvidia_gpu_miniconda.bat
file. It says the filemain.py
is not there, but it is. I noticed that it somehow "doubles" the ComfyUI folder although there is only one. (see red mark in screenshot) I don't know that much about code but I think I managed to install everything properly. Anybody has an idea what could cause this issue?`
When running with the alternative method, I can avoid the "double" ComfyUI folder, but get the following error message:
C:\Users\Marvin\Desktop\CreativeCoding\ComfyUI>conda activate python_miniconda_env\ComfyUI (C:\Users\Marvin\Desktop\CreativeCoding\ComfyUI\python_miniconda_env\ComfyUI) C:\Users\Marvin\Desktop\CreativeCoding\ComfyUI>python ./main.py Traceback (most recent call last): File "C:\Users\Marvin\Desktop\CreativeCoding\ComfyUI\main.py", line 73, in <module> import comfy.utils File "C:\Users\Marvin\Desktop\CreativeCoding\ComfyUI\comfy\utils.py", line 5, in <module> import safetensors.torch ModuleNotFoundError: No module named 'safetensors' (C:\Users\Marvin\Desktop\CreativeCoding\ComfyUI\python_miniconda_env\ComfyUI) C:\Users\Marvin\Desktop\CreativeCoding\ComfyUI>
Hi friend you have to put run_nvidia_gpu_miniconda.bat under your ComfyUI root directory like:
And if you missing "safetensors" or other packages then please use [Your ComfyUI python.exe path] pip install --force-reinstall [package name]
Hi @MrForExample thank you! I managed to get an proper installation but when running run_nvidia_gpu_miniconda.bat
I get the following message and nodes are missing:
Traceback (most recent call last):
File "C:\Users\Marvin\ComfyUI_windows_portable\ComfyUI\nodes.py", line 1887, in load_custom_node
module_spec.loader.exec_module(module)
File "<frozen importlib._bootstrap_external>", line 940, in exec_module
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "C:\Users\Marvin\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-3D-Pack\__init__.py", line 18, in <module>
module = importlib.import_module(f".{nodes_filename}", package=__name__)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Marvin\ComfyUI_windows_portable\python_miniconda_env\ComfyUI\Lib\importlib\__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "<frozen importlib._bootstrap>", line 1204, in _gcd_import
File "<frozen importlib._bootstrap>", line 1176, in _find_and_load
File "<frozen importlib._bootstrap>", line 1147, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 940, in exec_module
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "C:\Users\Marvin\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-3D-Pack\nodes.py", line 26, in <module>
from .algorithms.main_3DGS import GaussianSplatting, GaussianSplattingCameraController, GSParams
File "C:\Users\Marvin\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-3D-Pack\algorithms\main_3DGS.py", line 7, in <module>
from kiui.cam import orbit_camera
ModuleNotFoundError: No module named 'kiui'
Cannot import C:\Users\Marvin\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-3D-Pack module for custom nodes: No module named 'kiui'
yeah I got this following the same setup instructions. I havent been able to get this reliably setup with either the windows portable environment or miniconda. Miniconda gives me this
Hi @MrForExample thank you! I managed to get an proper installation but when running
run_nvidia_gpu_miniconda.bat
I get the following message and nodes are missing:Traceback (most recent call last): File "C:\Users\Marvin\ComfyUI_windows_portable\ComfyUI\nodes.py", line 1887, in load_custom_node module_spec.loader.exec_module(module) File "<frozen importlib._bootstrap_external>", line 940, in exec_module File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed File "C:\Users\Marvin\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-3D-Pack\__init__.py", line 18, in <module> module = importlib.import_module(f".{nodes_filename}", package=__name__) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\Marvin\ComfyUI_windows_portable\python_miniconda_env\ComfyUI\Lib\importlib\__init__.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "<frozen importlib._bootstrap>", line 1204, in _gcd_import File "<frozen importlib._bootstrap>", line 1176, in _find_and_load File "<frozen importlib._bootstrap>", line 1147, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 690, in _load_unlocked File "<frozen importlib._bootstrap_external>", line 940, in exec_module File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed File "C:\Users\Marvin\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-3D-Pack\nodes.py", line 26, in <module> from .algorithms.main_3DGS import GaussianSplatting, GaussianSplattingCameraController, GSParams File "C:\Users\Marvin\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-3D-Pack\algorithms\main_3DGS.py", line 7, in <module> from kiui.cam import orbit_camera ModuleNotFoundError: No module named 'kiui' Cannot import C:\Users\Marvin\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-3D-Pack module for custom nodes: No module named 'kiui'
same error without using conda, but directly in ubunut
Hi @MrForExample thank you! I managed to get an proper installation but when running
run_nvidia_gpu_miniconda.bat
I get the following message and nodes are missing:Traceback (most recent call last): File "C:\Users\Marvin\ComfyUI_windows_portable\ComfyUI\nodes.py", line 1887, in load_custom_node module_spec.loader.exec_module(module) File "<frozen importlib._bootstrap_external>", line 940, in exec_module File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed File "C:\Users\Marvin\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-3D-Pack\__init__.py", line 18, in <module> module = importlib.import_module(f".{nodes_filename}", package=__name__) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\Marvin\ComfyUI_windows_portable\python_miniconda_env\ComfyUI\Lib\importlib\__init__.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "<frozen importlib._bootstrap>", line 1204, in _gcd_import File "<frozen importlib._bootstrap>", line 1176, in _find_and_load File "<frozen importlib._bootstrap>", line 1147, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 690, in _load_unlocked File "<frozen importlib._bootstrap_external>", line 940, in exec_module File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed File "C:\Users\Marvin\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-3D-Pack\nodes.py", line 26, in <module> from .algorithms.main_3DGS import GaussianSplatting, GaussianSplattingCameraController, GSParams File "C:\Users\Marvin\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-3D-Pack\algorithms\main_3DGS.py", line 7, in <module> from kiui.cam import orbit_camera ModuleNotFoundError: No module named 'kiui' Cannot import C:\Users\Marvin\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-3D-Pack module for custom nodes: No module named 'kiui'
same error without using conda, but directly in ubunut
Hi @lovisdotio you managed to setup a Colab version right? Does this one still work? As Colab is my preferd tool to use I'd love to switch over. I tried to install with your guide but couldn't manage. I'm not sure if I did something wrong during the installation.
Hi @MrForExample thank you! I managed to get an proper installation but when running
run_nvidia_gpu_miniconda.bat
I get the following message and nodes are missing:Traceback (most recent call last): File "C:\Users\Marvin\ComfyUI_windows_portable\ComfyUI\nodes.py", line 1887, in load_custom_node module_spec.loader.exec_module(module) File "<frozen importlib._bootstrap_external>", line 940, in exec_module File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed File "C:\Users\Marvin\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-3D-Pack\__init__.py", line 18, in <module> module = importlib.import_module(f".{nodes_filename}", package=__name__) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\Marvin\ComfyUI_windows_portable\python_miniconda_env\ComfyUI\Lib\importlib\__init__.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "<frozen importlib._bootstrap>", line 1204, in _gcd_import File "<frozen importlib._bootstrap>", line 1176, in _find_and_load File "<frozen importlib._bootstrap>", line 1147, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 690, in _load_unlocked File "<frozen importlib._bootstrap_external>", line 940, in exec_module File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed File "C:\Users\Marvin\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-3D-Pack\nodes.py", line 26, in <module> from .algorithms.main_3DGS import GaussianSplatting, GaussianSplattingCameraController, GSParams File "C:\Users\Marvin\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-3D-Pack\algorithms\main_3DGS.py", line 7, in <module> from kiui.cam import orbit_camera ModuleNotFoundError: No module named 'kiui' Cannot import C:\Users\Marvin\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-3D-Pack module for custom nodes: No module named 'kiui'
Hi, that error means you didn't install the cuda packages inside the requirements_post.txt, try pip install -r requirements_post.txt
, also please double check the install guide
I'm getting an error when opening the
run_nvidia_gpu_miniconda.bat
file. It says the filemain.py
is not there, but it is. I noticed that it somehow "doubles" the ComfyUI folder although there is only one. (see red mark in screenshot) I don't know that much about code but I think I managed to install everything properly. Anybody has an idea what could cause this issue?`![error_conda](https://github.com/MrForExample/ComfyUI-3D-Pack/assets/105822353/32db32d7-cac3-4956-8646-d9710165c63f)
When running with the alternative method, I can avoid the "double" ComfyUI folder, but get the following error message: