1.找到opencv安装路径:
- python目录\Lib\site-packages\cv2
-
2.复制cv2.pyd一份到它的上级目录
- 在这个目录下,将文件cv2.pyd,复制一份到它的上级目录:*\Lib\site-packages
-
3.重新启动pycharm
4.测试验证,OK!
参考资料:https://blog.csdn.net/weixin_43975684/article/details/105523412
标签:Lib,Python,cv2,site,OpenCV,目录 From: https://www.cnblogs.com/liqi175/p/17282533.html