赞
踩
1. 安装selenium,命令行:
pip install -U selenium
报错:ModuleNotFoundError: No module named 'selenium'
2. 尝试各种镜像,还是报错,错误都一样:
pip install -U selenium -i https://pypi.org/project/selenium/
pip install selenium -i https://mirrors.aliyun.com/pypi --trusted-host mirrors.aliyun.com
pip install --index https://mirrors.ustc.edu.cn/pypi/web/simple/ selenium
python -m pip install selenium -i http://pypi.douban.com/simple/ --trusted-host pypi.douban.com
pip install selenium -i https://selenium-release.storage.googleapis.com
pip install selenium -i https://mirror.baidu.com/pypi/simple
报错信息:
ERROR: Could not find a version that satisfies the requirement selenium (from versions: none)
ERROR: No matching distribution found for selenium
3. 终极方案,直接下载解压缩,分分钟搞定。命令行:python setup.py install
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。