Could not find a version that satisfies the requirement cv2 (from versions: )

Could not find a version that satisfies the requirement cv2 (from versions: )

输入如下命令安装时发现也会提示出错

pip install cv2

最后利用下面的命令安装就成功了,然后你就可以愉快的玩耍了

pip install opencv-python

安装后,有时候,如果出现以下问题

ImportError: libSM.so.6: cannot open shared object file: No such file or directory
ImportError: libXrender.so.1: cannot open shared object file: No such file or directory
ImportError: libXext.so.6: cannot open shared object file: No such file or directory

解决方式,点击跳转

python安装opencv出现如下错误:Could not find a version that satisfies the requirement cv2 (from versions: )_Python_欢迎来到打不死的小强的专栏-CSDN博客
https://blog.csdn.net/zzq060143/article/details/80905741

你可能感兴趣的:(python)