-
Mac自带python,安装pip: sudo easy_install pip
-
下载pycharm,安装后使用License server: https://jetlicense.nss.im/
-
新建工程,点击preference之后点击project interpreter,添加opencv-python和opencv-contrib-python
-
测试:
import cv2
print(cv2.version)
Mac自带python,安装pip: sudo easy_install pip
下载pycharm,安装后使用License server: https://jetlicense.nss.im/
新建工程,点击preference之后点击project interpreter,添加opencv-python和opencv-contrib-python
测试:
import cv2
print(cv2.version)
本文标题:Mac+python+pycharm+opencv
本文链接:https://www.haomeiwen.com/subject/cqdadftx.html
网友评论