Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

workon: command not found No module named 'cv2'

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?

workon: command not found No module named 'cv2'

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 performing such shaman tambourine dances over system things.parameters.

Could some oneexplain or give links to the resources, explaining how this is working and how to fix it if is does not work?

workon: command not found No module named 'cv2'

I've got installed and running OpenCV with C++. Tried to test it with Python3, but

 workon dl4cv
    python3
    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, 18.4, 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 performing such shaman tambourine dances over system parameters.

Could some oneexplain or give links to the resources, explaining how this is working and how to fix it if is does not work?

workon: command not found No module named 'cv2'

I've got installed and running OpenCV with C++. Tried to test it with Python3, but

    workon dl4cv
    python3
    import cv2

returns

     ModuleNotFoundError: No module named 'cv2'

My environment is Ubuntu 18.4, 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 performing such shaman tambourine dances over system parameters.

Could some oneexplain or give links to the resources, explaining how this is working and how to fix it if is does not work?