Open pittebidde opened 1 year ago
I am getting this error No module named 'numpy._utils' I have uninstalled and then reinstalled numpy lib, but the errors are still there. Pip list also showing I have the lib installed.
Can you let me know what has happened?
TL:DR: If you get the Problem "ImportError: No module named cv2" or similar, it could be because your virtual enviroment does not yet have the library. you might need to install the needed libraries (opencv and numpy) locally in your virtual env. via command prompt.
I already solved this problem by myself, but since i haven't found any similar Issues in the "Issues Tab" yet, i might as well document my problem
When you create a virtual environment, your global libraries are not connected to your virtual environment setup. So if you try to import them, they won't find the library.
My solution (i dont know if it is a particulary clean one), was to: