首页 > 解决方案 > 如何使用 anaconda 提示符在 anaconda 3 上安装 pgmpy

问题描述

尝试安装 pgmpy 时出现以下错误

(base) C:\Users\pc> conda install -c ankurankan pgmpy
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 abor\
Examining pgmpy:  50%|███████████████████████████████████████████████████████████████████████████████                                                                               | 1/2 [00:00<00:00,  4.40it/s]-failed

UnsatisfiableError: The following specifications were found to be incompatible with each other:

Output in format: Requested package -> Available versions

标签: pythoninstallationpromptanaconda3pgmpy

解决方案


试试这个,它对我有用。

pip install pgmpy

推荐阅读