Home > front end >  ModuleNotFoundError: No module named 'imutils' . even though I have install imutils
ModuleNotFoundError: No module named 'imutils' . even though I have install imutils

Time:05-22

I have already installed imutils by using both methods pip install as well as pip3 install. but still, it is showing the same error while importing the module. The error says that "ModuleNotFoundError: No module named 'imutils' "

enter image description here

please help as my project deadline is near.

CodePudding user response:

Try to run:

pip install –upgrade imutils 

CodePudding user response:

import pip
pip.main(['install', 'imutils'])

this worked for me in jupyter notebook. this method I found in pythonfixing.com . I dont know what it means. If someone knows what this command means please tell me. But after executing this command in jupyter notebook, I was able to import the installed imutils in jupyter notebook.

  • Related