ModuleNotFoundError: No module named 'cv2' #122
-
Before updating, it was still working. (virtualenv) D:\stable_diff>python onnxUI.py --release-memory-after-generation --release-memory-on-change --cpu-textenc These are my versions if it is of any help: virtualenv cmd I also updated the versions but still the same error. virtualenv cmd Additionally, I don't know why but I am also getting this errors when trying to update WARNING: Skipping onnxruntime-directml as it is not installed. ERROR: Could not find a version that satisfies the requirement onnxruntime-directml (from versions: none) |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
I think that's because of the new controlnet update. The requirements.txt probably needs to be updated to reflect it. In the meantime, try installing opencv-python in your venv with this command: |
Beta Was this translation helpful? Give feedback.
I think that's because of the new controlnet update. The requirements.txt probably needs to be updated to reflect it. In the meantime, try installing opencv-python in your venv with this command:
pip install opencv-python
As for onnxruntime-directml, I don't know why that's not working for you.
Edit:
You may also need controlnet_aux as well:
pip install controlnet_aux