-
Notifications
You must be signed in to change notification settings - Fork 204
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
OpenCV bindings for Python 3 not installed #55
Comments
Ok, this did the trick: sudo cp /usr/local/lib/python3.6/dist-packages/cv2/python-3.6/*.so /usr/lib/python3.6/dist-packages/cv2/python-3.6/ |
Thanks for spotting this. I'd consider it still an open issue. Looks like it might be a good idea to purge any existing opencv before installing since it'll likely use the old version. |
Jsut a fyi, to anybody experiencing this, the above fix will work, but removing these apt package will also do the trick and possibly avoid other issues:
so |
unfortunately this does not the trick for me.
|
@Randy37773 |
Solve it for me: UPD: |
I installed OpenCV 4.5.2 via this script on a fresh Jetson Nano and checked the installation with the procedure described in this issue. This was working properly, Cuda was enabled and OpenCV version was 4.5.2 both using command
opencv_version
and in a Python 3 interpreter.However, I restarted the Jetson Nano and now in a Python 3 interpreter I got version 4.1.1. If I open an interpreter in sudo mode it still shows version 4.5.2.
Do you know the cause of this issue? However, solving the issue does not seem hard, I guess that copying the system Python cv2 shared library to the local Python dist-package folder should do the trick.
The text was updated successfully, but these errors were encountered: