Python Forum
Cannot install CV2 on Ubuntu 18.04 - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: General Coding Help (https://python-forum.io/forum-8.html)
+--- Thread: Cannot install CV2 on Ubuntu 18.04 (/thread-26328.html)



Cannot install CV2 on Ubuntu 18.04 - ErnestTBass - Apr-28-2020

I was trying to install Cv2 yesterday, and after a lot grinding by the computer the
output is as shown in the attached *.jpg file.

It seems that it cannot find the file to install.

How do I deal with this error? Is it a question of the install software not
looking for cv2 in all places it might be.

I have got this error before, but on different installs with different files.

How do I fix this error? I am using the latest version of python on Ubuntu 18.04.

I know it can be install since in the python source it is imported.

Any help appreciated. Thanks in advance.

Respectfully,

ErnestTBass


RE: Cannot install CV2 on Ubuntu 18.04 - ErnestTBass - Apr-28-2020

Okay, I can answer my own question here. I was trying to install the wrong module. it is not cv2 it is something else and it is dependent on how the install command is used as to what python-opencv or opencv-python.

Thanks, but I think that i can install my own module here. My question is how am I to know that install cv2 is really this way:
opencv-python or python-opencv.

Where is there a table explaining how to do this? I just found a video.

Any help appreciated. Thanks in advance by accident.

Respectfully,

ErnestTBass