新的MackBookPro运行Catalina操作系统。使用Homebrew安装了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
,然后尝试执行。 - sahasrara62