《pycharm调试》pycharm 运行报错:No module named 'skimage'的解决办法

版权声明:本文为博主原创文章,遵循 CC 4.0 by-sa 版权协议,转载请附上原文出处链接和本声明。
本文链接:https://blog.csdn.net/jiangsujiangjiang/article/details/84134357

打开PyCharm,选择file-settings-project-project interpreter。如果打开之后没看到scikit-image 的package,则选择右上角的“+”号搜索scikit-image. 点击Install Package,等待安装。


 

展开阅读全文

Windows10下Pycharm显示报错ImportError: No module named 'cv2.cv2'

08-27

Windows10下Pycharm显示报错ImportError: No module named 'cv2.cv2'该怎么解决?rn百度谷歌都只能找到ImportError: No module named 'cv2'的解决方案,但是找不到 'cv2.cv2'的解决方案rn该怎么办啊,求前辈们出手相助。rnrnrn具体报错如下所示:rnTraceback (most recent call last):rn File "C:\ProgramData\Anaconda3\lib\site-packages\IPython\core\interactiveshell.py", line 2961, in run_codern exec(code_obj, self.user_global_ns, self.user_ns)rn File "", line 1, in rn runfile('D:/机器学习/AnomalyDetection/AnomalyDetectionCVPR2018-master/Demo_GUI.py', wdir='D:/机器学习/AnomalyDetection/AnomalyDetectionCVPR2018-master')rn File "D:\pycharm\PyCharm 2018.2.1\helpers\pydev\_pydev_bundle\pydev_umd.py", line 194, in runfilern pydev_imports.execfile(filename, global_vars, local_vars) # execute the scriptrn File "D:\pycharm\PyCharm 2018.2.1\helpers\pydev\_pydev_imps\_pydev_execfile.py", line 18, in execfilern exec(compile(contents+"\n", file, 'exec'), glob, loc)rn File "D:/机器学习/AnomalyDetection/AnomalyDetectionCVPR2018-master/Demo_GUI.py", line 30, in rn import cv2rn File "D:\pycharm\PyCharm 2018.2.1\helpers\pydev\_pydev_bundle\pydev_import_hook.py", line 20, in do_importrn module = self._system_import(name, *args, **kwargs)rn File "C:\ProgramData\Anaconda3\lib\site-packages\cv2\__init__.py", line 3, in rn from .cv2 import *rn File "D:\pycharm\PyCharm 2018.2.1\helpers\pydev\_pydev_bundle\pydev_import_hook.py", line 20, in do_importrn module = self._system_import(name, *args, **kwargs)rnImportError: No module named 'cv2.cv2'rnrnrnPycharm里面看cv2的import引入正常rn求前辈们指点迷津! 论坛

没有更多推荐了,返回首页