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

前端 未结 9 715
执笔经年
执笔经年 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:43

    We were getting the same error.For us, it solved by upgrading pip version (also discussed in FAQ of OpenCV GitHub). Earlier we had pip-7.1.0, post upgrading it to "pip-9.0.2", it successfully installed.

    pip install --upgrade pip
    pip install opencv-python
    
    0 讨论(0)
  • 2020-12-05 13:45

    It happened with me on Windows, pip was not able to install opencv-python==3.4.0.12.

    Later found out that it was due to the Python version, Python 3.7 has some issue with not getting linked to https://github.com/skvark/opencv-python.

    Downgraded to Python 3.6 and it worked with:

    pip3 install opencv-python
    
    0 讨论(0)
  • 2020-12-05 13:46

    Use this and it will work:

    pip install --upgrade pip
    pip install opencv-python
    
    0 讨论(0)
  • 2020-12-05 13:47

    I had the same error. The first time I used the 32-bit version of python but my computer is 64-bit. I then reinstalled the 64-bit version and succeeded.

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

    As there is no proper wheel file in http://www.lfd.uci.edu/~gohlke/pythonlibs/#opencv?

    Try this:(Worked in Anaconda Prompt or Pycharm)

    pip install opencv-contrib-python
    
    pip install opencv-python
    
    0 讨论(0)
  • 2020-12-05 13:54

    Install it by using this command:

    pip install opencv-contrib-python
    
    0 讨论(0)
提交回复
热议问题