如果你已经安装了pip,那么只需输入:
pip install -i https://pypi.tuna.tsinghua.edu.cn/simple opencv-python
使用的是清华的镜像资源。
如果显示pip版本过低,可查看python升级的文章.
PS: Python2.7在2020年1月1日停止维护了,pip21.0将在2021年1月放弃对python2.7的支持
其他错误:
1、Linux 报错 bash: /usr/bin/pip: 没有那个文件或目录:
$ which pip -----没有出现目录说明pip没有安装
$ t