1、安装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
2、将chromedriver移动到/usr/bin下:
sudo mv Downloads/chromedriver /usr/local/bin
网友评论