I have been trying to get OpenCV setup on my RPI3 while following the steps outlined in the readme on github. I am able to install numpy and pynetworktables with no problems at all. However when I try to install OpenCV with the line
sudo pip3 install opencv-python
I am told, “No distributions found at all for opencv-python”.
I am running Jessie Lite and made sure to install Python 3.4 aswell. Has anyone else run into this issue or see where it is I’m going wrong? Note that my experience with the RPI in general is limited, so if I haven’t found it in the GRIP ReadMe’s, I probably haven’t done it.
PyPi doesn’t support binaries for the raspberry pi (or maybe even ARM at all).
I’ve built OpenCV python bindings for the pi 3 available here under the ‘python’ directory. (This will not work for other raspberry pi’s – only the 3!)
Traceback (most recent call last):
File "/usr/lib/python3.4/runpy.py", line 170, in _run_module_as_main
"__main__", mod_spec)
File "/usr/lib/python3.4/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/usr/local/lib/python3.4/dist-packages/wheel/__main__.py", line 17, in <module>
sys.exit(main())
File "/usr/local/lib/python3.4/dist-packages/wheel/__main__.py", line 14, in main
sys.exit(wheel.tool.main())
File "/usr/local/lib/python3.4/dist-packages/wheel/tool/__init__.py", line 356, in main
args.func(args)
File "/usr/local/lib/python3.4/dist-packages/wheel/tool/__init__.py", line 299, in install_f
args.wheel_dirs, args.force, args.list_files)
File "/usr/local/lib/python3.4/dist-packages/wheel/tool/__init__.py", line 221, in install
wf.install(force=force)
File "/usr/local/lib/python3.4/dist-packages/wheel/install.py", line 326, in install
raise ValueError("Wheel file {0} would overwrite {1}. Use force if this is intended".format(k, dest))
ValueError: Wheel file opencv_python_rpi3-3.1.0+39f5a48.dist-info/metadata.json would overwrite /usr/local/lib/python3.4/dist-packages/opencv_python_rpi3-3.1.0+39f5a48.dist-info/metadata.json. Use force if this is intended
I am running Jessie Lite on an RPI3. The only things I have done on the Pi (in said order) are: