常规的安装方法:
a、pippip install selenium
b、pip install --index https://mirrors.ustc.edu.cn/pypi/web/simple/ selenium
c、pip --default - timeout=100 install selenium
d、其他的映射路径………………
如果上面几种方法都会报错同样的错误:No matching distribution found for selenium(from versions:one)
网上找了很多种方法,大同小异,没有解决实际问题,还浪费时间!!!
下面我分享一下我的安装流程
1、遇到No matching distribution found for selenium,先看执行几个命令
a、pip instal Pillow
b、pip install --index-url http://mirrors.aliyun.com/pypi/simple/ selenium --trusted-host mirrors.aliyun.com
2、执行成功之后pip list 看下是否有:selenium,
3、若果没有,那还需要重新安装:pip --default-timeout=100 install selenium
文章来源:https://www.toymoban.com/news/detail-783582.html
文章来源地址https://www.toymoban.com/news/detail-783582.html
到了这里,关于Selenium安装报错:No matching distribution found for selenium。经个人尝试,问题已得到解决的文章就介绍完了。如果您还想了解更多内容,请在右上角搜索TOY模板网以前的文章或继续浏览下面的相关文章,希望大家以后多多支持TOY模板网!