具体步骤:
- 打开anaconda的终端terminal:Environments–>base(root)----->Open Terminal
- 安装
- pip install graphviz
- conda install graphviz
- ?报错:Solving environment: failed with initial frozen solve. Retrying with flexible solve.
- 解决报错:
- ?尝试第一种方法
- 更新conda:conda update -n base conda
- 查看conda版本: conda -V
- 更新conda:conda update --all
- ?重新安装:conda install graphviz 依然报错,同样的错
- ? 尝试另一种方法:在终端输入以下命令行
- conda config --add channels conda-forge
- conda config --set channel_priority flexible
- ? 重新安装:conda install graphviz 成功
参考链接:
Anaconda安装Graphviz_A_D_I_D_A_S的博客-CSDN博客
Mac上在Anaconda中安装Graphviz_JohnnyD_Cash的博客-CSDN博客
Solving environment: failed with initial frozen solve. Retrying with flexible solve的解决 - 灰信网(软件开发博客聚合)
?
?
?
?
|