【发布时间】:2020-04-03 00:24:44
【问题描述】:
运行 Catalina 的新 mackbookpro。使用自制软件安装 anaconda。尝试使用命令conda install -c anaconda psycopg2 安装 psycopg2,但由于包冲突而失败。以下是尝试安装的一些输出:
$ conda install -c anaconda psycopg2
Collecting package metadata (current_repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source.
Collecting package metadata (repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: /
Found conflicts! Looking for incompatible packages.
This can take several minutes. Press CTRL-C to abort.
failed \
UnsatisfiableError: The following specifications were found to be incompatible with each other:
Output in format: Requested package -> Available versions
Package six conflicts for:
pyopenssl -> cryptography[version='>=2.8'] -> six[version='>=1.4.1']
pytest-doctestplus -> pytest[version='>=3.0'] -> six[version='>=1.10.0']
python-dateutil -> six[version='>=1.5']
nltk -> six
对正在发生的事情或如何解决有任何想法?
【问题讨论】:
-
conda update conda,然后试试 -
谢谢。尝试了这个并再次运行安装命令。没有骰子:(
标签: python installation anaconda psycopg2