“Could not find a version that satisfies the requirement opencv-python”

前端 未结 9 716
执笔经年
执笔经年 2020-12-05 13:34

I am struggling with Jetson TX2 board (aarch64).

I need to install python wrapper for OpenCV.

I can do:

$ sudo apt-get install python-opencv
         


        
相关标签:
9条回答
  • 2020-12-05 13:56

    Another problem can be that the python version you are using is not yet supported by opencv-python.

    E.g. as of right now there is no opencv-python for python 3.8. You would need to downgrade your python to 3.7.5 for now.

    0 讨论(0)
  • 2020-12-05 13:58

    pip doesn't use http://www.lfd.uci.edu/~gohlke/pythonlibs/, it downloads packages from PyPI.

    The problem is that you have an unusual architecture; pip cannot find a package for it and there is no source code package.

    Unfortunately I think you're on your own. You have to download source code from https://github.com/skvark/opencv-python, install compiler and necessary libraries and compile OpenCV yourself.

    0 讨论(0)
  • 2020-12-05 14:02

    A way to do this is to install Anaconda on your computer.

    Then you should be able to do:

    pip install opencv-python
    

    or

    conda install opencv
    
    0 讨论(0)
提交回复
热议问题