Tuesday, December 15, 2020

No module named imutils.pespective after pip installing

/python/Script/


 1) Install imutils

pip install imutils

2) If imutils is already installed, check the installation path.

Requirement already satisfied: imutils in /usr/local/lib/python3.5/dist-packages

3) When I ran python program, I ran into following error:

ImportError: No module named imutils.video

In my case, imutils was only installed under /usr/local/lib/python3.5/dist-packages path, once I copied this folder to /usr/local/lib/python2.7/dist-packages, it worked! Hope this is helpful.

No comments:

Post a Comment

Introduction to Keras and TensorFlow for Training Deep Learning Classifiers

 ### Introduction to Keras and TensorFlow for Training Deep Learning Classifiers **Keras and TensorFlow** are powerful tools in the realm of...