赞
踩
【问题】
pip3 install opencv-python报错
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-djn6c2bj/opencv-python/
【解决】
更新 setuptools 和 pip
- #运行以下命令更新
- pip install --upgrade setuptools
- python -m pip install --upgrade pip
- #因为我装了python2 又装了python3,要更新python3的,所以运行了下面的命令
- pip3 install --upgrade setuptools
- python3 -m pip install --upgrade pip
【参考】
https://blog.csdn.net/weixin_43721369/article/details/86700473
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。