Atom Shows ModuleNotFoundError When Running Python Script
I'm running Mac OS X (10.14.4) and I'm attempting to follow YouTube tutorial; https://www.youtube.com/watch?v=bDaxeg4HKQY; Image Detection with YOLO v2 Process Video in Python + op
Solution 1:
You need to install cv2 before it will work. cv2 is really opencv but to install it you need to activate your virtual environment and then type: pip install opencv-python
. On a discussion dated in July 2018 it was stated that opencv was not compatible with python 3.7 but did work with versions 3.5 and 3.65. It may be compatible now.
Solution 2:
I believe I have an answer to my own question.
I simply installed the 'Hydrogen' package via Atom --> Preferences --> Packages
Now I can start a virtual environment and control it all within the Atom application.
Problem solved :-)
Post a Comment for "Atom Shows ModuleNotFoundError When Running Python Script"