2

I'm trying to install opencv with pip3 on my Devuan GNU/Linux 3, and this is what happens:

$ pip3 install opencv
Collecting opencv
Could not install packages due to an EnvironmentError: 404 Client Error: Not Found for url: https://pypi.org/simple/opencv

and indeed, if you browse that URL, you get a 404 page.

Why is this happening? Am I to blame? Devuan? pypi.org administrators? Somebody else?

Also - can I replace the URL somehow? Or manually install from somewhere?

einpoklum
  • 8,772
  • 19
  • 65
  • 129

2 Answers2

1

You can download the OpenCV source file and install it using pip. The installation file will have a .whl or Wheel filetype. You can download this one if you're on x86_64

Now go to the download location and type -

pip3 install opencv

Press Tab for auto-completion of the filename. It should be easily installed this way.

rubaiat
  • 793
  • 3
  • 13
1

The package is named opencv-python on PyPI, so install it instead of non-existent opencv:

pip3 install opencv-python
hoefling
  • 886
  • 1
  • 7
  • 13