Qiita Teams that are logged in
You are not logged in to any team

Log in to Qiita Team
Community
OrganizationAdvent CalendarQiitadon (β)
Service
Qiita JobsQiita ZineQiita Blog
Help us understand the problem. What is going on with this article?

jetson nano上にopencv-python3のインストールを試みるもエラー(ModuleNotFoundError: No module named 'skbuild')

jetson nano上にopencv-python3のインストールを試みるもエラー

# 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/

以下の通りソースコードからビルドするとよい

git clone https://github.com/mdegans/nano_build_opencv
cd nano_build_opencv
./build_opencv.sh

参考

pip installでModuleNotFoundError: No module named ‘skbuild’が出た時
https://github.com/mdegans/nano_build_opencv
error-could-not-build-wheels-for-opencv-python-which-use-pep-517-and-cannot-be

seigot
# 投稿内容は私個人の意見であり、所属企業・部門見解を代表するものではありません。 # 投稿内容は執筆時点の情報であり、必ずしも最新情報であるとはかぎりません。
Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away