问题: 安装 selenium 报错
- 环境: python 3.7.3(python --version)
- 操作: pip install selenium
- 报错:
ERROR: Could not find a version that satisfies the requirement selenium (from versions: none)
ERROR: No matching distribution found for selenium
解决:
- 方法1:增大超时时间
pip --default-timeout=100 install selenium
- 方法2:修改安装源为清华安装源
pip install --index https://mirrors.ustc.edu.cn/pypi/web/simple/ selenium
我的博客即将同步至腾讯云+社区,邀请大家一同入驻:
https://cloud.tencent.com/developer/support-plan?invite_code=3gyyrlkysnc4k