Skip to content
This repository has been archived by the owner on Oct 8, 2024. It is now read-only.

ModuleNotFoundError: No module named 'cv2' #122

Answered by uchuusen
bluekaiser07 asked this question in Q&A
Discussion options

You must be logged in to vote

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

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@bluekaiser07
Comment options

Answer selected by bluekaiser07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants