-
Notifications
You must be signed in to change notification settings - Fork 122
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ImportError: No module named cv2 #81
Comments
Hi @YukihimeX! Well that sucks... My first guess would be to assume that you're running autocrop from your virtual environment, but autocrop is using a different I've done the following steps and cannot duplicate your issue:
Works as intended, at least on my Windows box. Suggested next step:
Hopefully that will get us somewhere :) Note to self: tangentially related to #7. |
@leblancfg Hi, thank you for taking the time to respond to my issue... I created the 3 folders (pics, crop, nofaces) into D:\VirtualEnv\autocrop\autocrop directory and put a few pictures into the pics folder as a test. And when I run the Here's my step...
Please take a look at the screenshot and let me know if I did anything wrong. |
OK so, two things here. Running the Typically, CLI tools such as Taking a step back, you can go back to that folder and try running
... or am I reading this all wrong, and that's what you trying previously? 😨 |
Never-mind, I was just being an airhead... I forgot to put images into the pics folder when I run autocrop... |
Great to hear! :) |
No matter which version of opencv I installed into my canda VirtualEnv (python 3.6 and 3.7) I cannot (for the love of god) make opencv to work.
import cv2
always give me the "No module name cv2" error.It's like the damn thing is blind as fck and can't seem to find that opencv is already installed into that Virtual Env. I installed both requirements.txt and requirements-test.txt as well, just to be sure, but still same result.
Does anyone have any idea how to go about solving this issue?
Which OpenCV version did you guys have that work properly?
The text was updated successfully, but these errors were encountered: