PyImageSearch / imutils

A series of convenience functions to make basic image processing operations such as translation, rotation, resizing, skeletonization, and displaying Matplotlib images easier with OpenCV and Python.
MIT License
4.54k stars 1.03k forks source link

No module named imutils in jupyter notebook #192

Closed 8861227147 closed 4 years ago

8861227147 commented 4 years ago

I have imported library called build_montage and paths from imutils module in yupyter notebook. The code is:- from imutils import build_montages from imutils import paths

But it shows ModuleNotFoundError: no module named 'imutils'

jrosebr1 commented 4 years ago

It's very likely that you did not install the imutils library correctly. Double-check that you have installed it, verify that if you are using a virtualenv that it's installed there, and finally make sure you don't have any files named imutils.py in your working path.