【发布时间】:2016-09-19 10:01:38
【问题描述】:
我想在 Ubunto 14.04 的 python 3 下使用 opencv。我计划使用 PyCharm IDE 来开发我的程序。
在我选择的 PyCharm 内部,我设置:
文件/设置/项目:HelloWorld/Project Interpreter/3.4.3(/usr/bin/python3.4)
Python 3.4.3 是 Ubunto 14.04 中的默认 python 版本。
然后我尝试添加 opencv-python 包:
File/Settings/Project:HelloWorld/Project Interpreter/+(添加包的地方)
系统给了我这个错误:
Executed command:
pip install opencv-python
Try to run this command from the system terminal. Make sure that you
use the correct version of 'pip' installed for your Python interpreter located at '/usr/bin/python3.4'.
DEPRECATION: --no-install, --no-download, --build, and --no-clean are deprecated. See https://github.com/pypa/pip/issues/906.
Downloading/unpacking opencv-python
Could not find any downloads that satisfy the requirement opencv-python
Cleaning up...
No distributions at all found for opencv-python
Storing debug log for failure in /root/.pip/pip.log
当我从终端运行命令时,错误是相同的。我相信这个问题与在 python3 下安装 opencv 有关,但我不确定我是否可以修复它。请让我知道你的意见。
谢谢
【问题讨论】: