最便捷的方法就是更换镜像源:pip3 install selenium -i https://pypi.douban.com/simple/ --trusted-host pypi.douban.com