Independent virtual environments are necessary because ComfyUI’s dependencies may conflict with other dependencies on the system, and it can also avoid polluting the system-level Python environment.
Install Miniconda. This will help you install the correct versions of Python and other libraries needed by ComfyUI.Create an environment with Conda.
Use the command line to enter the installation path of ComfyUI, then pull the latest code.
Copy
Ask AI
cd <installation path>/ComfyUIgit pull
2
install the dependencies
Use the command line to enter the installation path of ComfyUI, then install the dependencies.
You need to ensure that the current Python environment is the ComfyUI virtual environment, otherwise the dependencies will be installed to the system-level Python environment, polluting the system-level Python environment.