当我在我的Ubuntu机器上尝试在Anaconda3中使用conda install python-graphviz时,它停留在Solving environment
(base) $ conda install python-graphviz
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: /有什么问题吗?
发布于 2021-03-02 04:18:58
我也有同样的问题。以下是我的解决方案:
手动安装graphviz。
例如,对于ubuntu:
sudo apt install graphviz graphviz-dev然后对python包执行pip安装。
pip install graphviz令人困惑的是,graphviz的pip安装与python-graphviz的conda安装相同。(命名错误)
在我的手机上输入这个,所以最好仔细检查我的命令是否有打字错误。如果问题解决了,请告诉我。
https://stackoverflow.com/questions/66379861
复制相似问题