【问题标题】:Unsatisfiable error conda-installing MySQL-pythonconda-installing MySQL-python 无法满足的错误
【发布时间】:2018-08-14 13:43:28
【问题描述】:

我正在尝试使用 conda 安装 MySQL-python。我收到以下错误:

> conda install MySQL-python
Fetching package metadata .........
Solving package specifications: .

UnsatisfiableError: The following specifications were found to be in conflict:
  - mysql-python -> python 2.7* -> openssl 1.0.1*
  - python 3.6*
Use "conda info <package>" to see the dependencies for each package.

我什至不明白哪个是冲突...也许python 2.7和3.7不能共存?

【问题讨论】:

    标签: python mysql-python conda


    【解决方案1】:

    你是对的,这个错误信息有点难以解密。您是否尝试过查看similar error messages,这可能会对这个问题有所了解? Python 2.7 和 3.7 通常可以很好地共存。在创建 Anaconda 环境时,您可能需要指定使用哪一个。我建议在 mysql-python 上使用命令 conda info &lt;package&gt; 并查看返回了哪些依赖项。

    【讨论】:

      猜你喜欢
      • 2018-01-01
      • 2022-08-12
      • 2020-12-28
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2017-09-09
      • 2021-05-12
      相关资源
      最近更新 更多