Comfy UI : ModuleNotFoundError: No module named 'safetensors' #1427
Replies: 5 comments
-
Guys,I also encountered this problem and wanted to ask if it was solved? |
Beta Was this translation helpful? Give feedback.
-
You didn't installed ComfyUI properly. If you can set up a |
Beta Was this translation helpful? Give feedback.
-
like you guys , i wasn't understanding anything with this venv virtual environment these 2 links helps me a lot |
Beta Was this translation helpful? Give feedback.
-
I don't think it's a matter of not following the directions. I followed them explicitly as posted on the readme in the "Installing" for "Manual Install (Windows, Linux)" and still got the same error. I am using Linux (arch) and using micromamba to manage my environment. I created a specific environment for comfyui, ran Still, I got the same error. Currently, I am trying to troubleshoot myself. I will update if I manage to fix it for my environment. |
Beta Was this translation helpful? Give feedback.
-
Python: if have different version Linux 如果你有 Linux 和 apt Windows and py have alias Anaconda Jupyter Notebook |
Beta Was this translation helpful? Give feedback.
-
After having some pb with homebrew after migrating my MBP intel to MBP M2 , i had to uninstall Comfy UI ( who was running well before th pb) , i reinstall it but can't make it run , i always had this error message : no module named 'safetensors'
if someone can give me some help that will be greatly appreciated
python3 main.py
** ComfyUI start up time: 2023-09-05 19:38:58.561372
Prestartup times for custom nodes:
0.0 seconds: /Users/lucvaligny/ComfyUI/custom_nodes/ComfyUI-Manager
Traceback (most recent call last):
File "/Users/lucvaligny/ComfyUI/main.py", line 66, in
import comfy.utils
File "/Users/lucvaligny/ComfyUI/comfy/utils.py", line 5, in
import safetensors.torch
ModuleNotFoundError: No module named 'safetensors'
Beta Was this translation helpful? Give feedback.
All reactions