【发布时间】:2018-07-02 14:38:52
【问题描述】:
当我想安装 Tox 时,我正在使用 MacOs Sierra 10.12.6 (https://tox.readthedocs.io/en/latest/install.html)。
~ $ pip install tox
Collecting tox
Could not fetch URL https://pypi.python.org/simple/tox/: There was a problem confirming the ssl certificate: [SSL: TLSV1_ALERT_PROTOCOL_VERSION] tlsv1 alert protocol version (_ssl.c:590) - skipping
Could not find a version that satisfies the requirement tox (from versions: )
No matching distribution found for tox
~ $
如何安装 Tox?
【问题讨论】:
-
你的点子更新了吗?
-
你的
pip和 Python 版本是多少? -
~ $ pip --version pip 9.0.1 from /Library/Python/2.7/site-packages/pip-9.0.1-py2.7.egg (python 2.7)
-
我们不能在公司环境中使用 pip 或 brew。手动安装 tox 3.7.0 失败,因为它找不到 zipp>=0.5,即使已经安装了 zipp-2.1.0。有什么线索吗?
标签: python pip installation tox