WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProxyError('Cannot connect to proxy.', OSError(0, 'Error'))': /simple/selenium/ WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProxyError('Cannot connect to proxy.', OSError(0, 'Error'))': /simple/selenium/ WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProxyError('Cannot connect to proxy.', OSError(0, 'Error'))': /simple/selenium/ WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProxyError('Cannot connect to proxy.', OSError(0, 'Error'))': /simple/selenium/ WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProxyError('Cannot connect to proxy.', OSError(0, 'Error'))': /simple/selenium/ ERROR: Could not find a version that satisfies the requirement selenium (from versions: none) ERROR: No matching distribution found for selenium
时间: 2023-07-03 14:05:47 浏览: 1017
基于pip install django失败时的解决方法
这个错误提示表明你的Python解释器无法下载selenium库。你可以尝试以下方法来解决这个问题:
1. 确保你的网络连接正常,或者尝试更换网络环境。
2. 确保你的Python版本正确,并且使用pip来安装selenium库。你可以在终端或命令行中执行以下命令:`pip install selenium`
3. 如果你使用的是Python虚拟环境,请确保已经在正确的虚拟环境中执行安装命令。
4. 如果上述方法都不能解决问题,你可以尝试手动下载selenium库,并将其解压到Python解释器的site-packages目录中。你可以在https://pypi.org/project/selenium/ 页面中找到selenium库的下载链接。
阅读全文