1.在cmd里面安装selenium
输入:
pip install selenium
在我这里出现了下载缓慢的问题,一直卡了半天,有同样问题的小伙伴可以试试输入下面这个进行安装,会更快一点:
pip --default-timeout=100 install selenium -i https://pypi.tuna.tsinghua.edu.cn/simple
之后仍然出现了:
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
tensorflow-intel 2.13.0 requires typing-extensions<4.6.0,>=3.6.6, but you have typing-extensions 4.12.2 which is incompatible.
可以尝试用它给出的解决方案解决:
python.exe -m pip install --upgrade pip
然后再次输入:
pip --default-timeout=100 install selenium -i https://pypi.tuna.tsinghua.edu.cn/simple
安装成功:
标签:resolver,--,currently,selenium,dependency,报错,install,pip,安装 From: https://blog.csdn.net/jingling555/article/details/142753027