【问题标题】:Can't Install Tox无法安装毒物
【发布时间】: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


【解决方案1】:

我找到了简单的解决方案:

brew 安装 python2

【讨论】:

    猜你喜欢
    • 2021-10-09
    • 1970-01-01
    • 2016-04-16
    • 2014-09-02
    • 2021-07-26
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2020-10-12
    相关资源
    最近更新 更多