【发布时间】:2021-03-31 12:39:33
【问题描述】:
我尝试安装psi4 在jupyter/minimal-notebook 容器中进行量子化学计算。
但是,如下代码块所示,由于UnsatisfiableError,我无法安装。
(base) jovyan@17285cef33b0:~/work$ conda create -n psi4 python=3.6
Collecting package metadata (current_repodata.json): done
Solving environment: done
....
(ellipsis)
(base) jovyan@17285cef33b0:~/work$ conda activate psi4
(psi4) jovyan@17285cef33b0:~/work$ conda install psi4 -c psi4
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
(psi4) jovyan@17285cef33b0:~/work$
它没有显示不满意的地方。
我不想使用anaconda,因为我需要为anaconda的商业用途付费,并且我想使用conda-forge作为运行psi4的环境。我也想用docker,因为我想有相同的条件来运行程序。
你有什么好主意来解决这个错误吗? 或者有什么环境可以满足我的愿望?
我的环境是 Windows 10,我使用的是 Docker Desktop WSL 2 后端。
【问题讨论】:
标签: python docker jupyter-notebook anaconda