I've got installed and running OpenCV with C++. Tried to test it with Python3, but
import cv2
returns
ModuleNotFoundError: No module named 'cv2'
quit Python and run
~$ workon cv
and get
workon: command not found
My environment is Ubuntu 16, OpenCV 3.4.10 , Python 3.6.9
People on stackexchange suggest various manipulation with .profile and pathes without explaining why, but without understanding I feel uncomfortable playing around with system things.
Could some oneexplain or give links to the resources, explaining how this is working and how to fix it if is does not work?