La tentative d'installation de opencv-python3 sur jetson nano échoue
# python3 -m pip install opencv-python
Collecting opencv-python
Downloading https://files.pythonhosted.org/packages/30/46/821920986c7ce5bae5518c1d490e520a9ab4cef51e3e54e35094dadf0d68/opencv-python-4.4.0.46.tar.gz (88.9MB)
100% |################################| 88.9MB 2.7kB/s
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-build-vc_ucm46/opencv-python/setup.py", line 9, in <module>
import skbuild
ModuleNotFoundError: No module named 'skbuild'
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-vc_ucm46/opencv-python/
Construisez à partir du code source comme suit
git clone https://github.com/mdegans/nano_build_opencv
cd nano_build_opencv
./build_opencv.sh
Lorsque ModuleNotFoundError: Aucun module nommé ‘skbuild’ n’apparaît dans pip install https://github.com/mdegans/nano_build_opencv error-could-not-build-wheels-for-opencv-python-which-use-pep-517-and-cannot-be
Recommended Posts