ubantu opencv-python

Environment: ubantu14.04

The first time I installed Sogou input method, googlechrome, pycharm, adobe components, when I installed opencv for Python

should have been simplea sentence

pip install opencv-python 

As a result, I was busy all afternoon and couldn't find this distribution.

Mind broke. Even reinstalled the system and installed the above program × 2.

Later, I thought about it carefully: it is not crucial to change the software source, nor is it necessary to overturn the wall.

The core is that there is something wrong with the source: probably the index. May be the content.

then

  • sudo apt-get update update source

  • sudo apt-get upgrade to update installed packages

Then pip install opencv-python . OK! Weeping with joy. . .






Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325169134&siteId=291194637