我已经使用pip (升级到最新版本)安装了imutils,安装后应该直接安装在PyCharm ExternalModules上,但是每当我尝试运行使用imutils模块的程序时,它会打印: Modulerror: imutils未找到,该怎么办?这就是我作为输出得到的结果:
**/home/manel/.virtualenvs/tutorialpoint/bin/python /home/manel/Documents/opencv-tutorial/opencv_tutorial_01.py
Traceback (most recent call last):
File "/home/manel/Documents/opencv-tutorial/opencv_tutorial_01.py", line 5, in <module>
import imutils
ModuleNotFoundError: No module named 'imutils'**发布于 2019-02-11 09:11:12
去Settings -> Project -> Project Interpreter。如果没有列出它,那么它就不会安装在虚拟env PyCharm上。您可以在列出的软件包旁边使用+签名安装它。只需搜索它并按安装包。
你可以在here阅读我的问答,了解更多关于这个具体问题的详细信息。
https://stackoverflow.com/questions/54617803
复制相似问题