Since directly installing the ComfyUI 3D Pack extension causes the entire ComfyUI to malfunction, I considered creating a virtual environment within ComfyUI using venv to install dependencies separately, but I keep encountering issues. I searched for an installation method on YouTube (https://www.youtube.com/watch?v=RjuoLMCpvbI), and here are the steps I followed (I don't understand code, I rely entirely on chat assistance):
Installed the Comfy 3D Pack into the custom_nodes directory.
Created a virtual environment using python -m virtualenv venv, and activated the virtual environment with venv\Scripts\activate in the Comfy 3D Pack directory.
Installed torch-2.3.0+cu121-cp310-cp310-win_amd64.whl, torchaudio-2.3.0+cu121-cp310-cp310-win_amd64.whl, torchvision-0.18.0+cu121-cp310-cp310-win_amd64.whl in the virtual environment.
Installed dependencies in the virtual environment using pip install -r requirements.txt.
Added the 3D Pack extension to the startup file main.py. The code is:
# Activate ComfyUI-3D-Pack virtual environment pack_activate_this = 'X:/Data/Packages/ComfyUI/custom_nodes/ComfyUI-3D-Pack/venv/Scripts/activate_this.py' with open(pack_activate_this) as file_: exec(file_.read(), dict(__file__=pack_activate_this))
Started ComfyUI in the Stability Matrix, and then encountered an error:
OSError: [WinError 126] The specified module could not be found. Error loading "X:\Data\Packages\ComfyUI\custom_nodes\ComfyUI-3D-Pack\venv\Lib\site-packages\torch\lib\shm.dll" or one of its dependencies.
However, this file does exist.
These are the steps I took, which may be incorrect. I hope you can provide some assistance or a correct installation method. (I had successfully installed a previous version, but I can't manage it after the update.) Thank you.
Since directly installing the ComfyUI 3D Pack extension causes the entire ComfyUI to malfunction, I considered creating a virtual environment within ComfyUI using venv to install dependencies separately, but I keep encountering issues. I searched for an installation method on YouTube (https://www.youtube.com/watch?v=RjuoLMCpvbI), and here are the steps I followed (I don't understand code, I rely entirely on chat assistance):
# Activate ComfyUI-3D-Pack virtual environment pack_activate_this = 'X:/Data/Packages/ComfyUI/custom_nodes/ComfyUI-3D-Pack/venv/Scripts/activate_this.py' with open(pack_activate_this) as file_: exec(file_.read(), dict(__file__=pack_activate_this))
These are the steps I took, which may be incorrect. I hope you can provide some assistance or a correct installation method. (I had successfully installed a previous version, but I can't manage it after the update.) Thank you.