无法在Anaconda 4.3中安装OpenCV 3.2 [英] Unable to install OpenCV 3.2 in Anaconda 4.3

查看:112
本文介绍了无法在Anaconda 4.3中安装OpenCV 3.2的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

尝试了以下步骤

  1. conda install -c menpo opencv3=3.2.0 .. 正在获取软件包元数据....发生了意外错误
  2. 进行了一些互联网搜索并使用了conda config --set ssl_verify=False
  3. 然后尝试做conda update -allconda update pyopenssl,但是没有运气
  4. 即使remove certifi也不起作用...给出相同的错误...实际上任何更新/安装尝试都会产生相同的结果.
  5. 没有设置了PYTHONHOMEPYTHONPATH
  6. 以下是我当前的conda设置和更新/安装错误的屏幕截图.平台:Windows 8.1
  7. 如果要在Anaconda环境中安装OpenCV 3.2,请使用其他方法
  1. conda install -c menpo opencv3=3.2.0 .. Fetching package metadata....An unexpected error has occurred
  2. Did some internet search and used conda config --set ssl_verify=False
  3. Then tried doing conda update -all and conda update pyopenssl but no luck
  4. even remove certifidoes not work ...gives the same error...infact any update / install attempt gives the same result.
  5. I have NOT set my PYTHONHOME or PYTHONPATH
  6. Followin are the screen shots of my current conda settings and the update/install error. Platform : Windows 8.1
  7. If there is any other method to install OpenCV 3.2 in Anaconda environment please mention it

问题已解决

  1. 打开Anaconda终端
  2. 导航到包含Python脚本的Anaconda主文件夹中的文件夹
  3. 此处
  4. 下载非官方的opencv + contrib二进制文件
  5. 在Anaconda终端中进行pip安装
  1. Open Anaconda terminal
  2. Navigate to the folder in Anaconda main folder which contains Python Scripts
  3. Download the un-offical opencv + contrib binaries from here
  4. In the Anaconda terminal do pip install

`

推荐答案

此外,您可以进入Anaconda环境并为OpenCV 3.4.4运行以下操作之一:

Also, you can go into your Anaconda environment and run one of the following for OpenCV 3.4.4:

conda install -c conda-forge opencv 
conda install -c conda-forge/label/gcc7 opencv 
conda install -c conda-forge/label/broken opencv 
conda install -c conda-forge/label/cf201901 opencv

这篇关于无法在Anaconda 4.3中安装OpenCV 3.2的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆