1.无法下载selenium时通过官网下载
2.下载完成后将文件放入python目录的site-packages文件夹下
在terminal中执行
pip3 install selenium-4.2.0-py3-none-any.whl
3.如果报错:Failed cleaning build dir for cryptography 则需要更新pip
将pycharm下的pip配置文件放入python目录下的site-packages目录下
执行:
easy_install -U pip-20.0.2-py2.py3-none-any.whl