VS2017安装Anacoda、python、opencv-contrib-python

1、下载VS2017社区版
https://docs.microsoft.com/en-us/visualstudio/releasenotes/vs2017-relnotes
2、安装时选择python
3、安装后新建项目,可以看到python环境界面,VS2017自带的是python3.6,选择包(Conda)后可以选择python3.6进行升级

VS2017安装Anacoda、python、opencv-contrib-python

4、升级python到3.7.2版本后,选择包(PyPI),
在搜索栏输入 opencv-contrib-python后,会自动提示 运行命令 pip install opencv-contrib-python和安装opencv-contrib-python,选择其中一个即可。
参考https://pypi.org/project/opencv-contrib-python/
但是升级python后安装opencv-contrib-python一直报错pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.
!https://www.lfd.uci.edu/~gohlke/pythonlibs/
下载opencv_contrib_python-4.0.0.21-cp37-cp37m-win_amd64.whl
到Anacoda的script文件夹下,直接运行CMD pip -install opencv_contrib_python-4.0.0.21-cp37-cp37m-win_amd64.whl解决安装问题在这里插入图片描述VS2017安装Anacoda、python、opencv-contrib-pythonVS2017安装Anacoda、python、opencv-contrib-python

在这里插入图片描述