gpt4 book ai didi

c++ - pygraphviz 的 Python 3 pip 安装失败, "Microsoft Visual C++ is required",已安装 Visual Studio 2017

转载 作者:行者123 更新时间:2023-11-30 02:25:05 25 4
gpt4 key购买 nike

我尝试pip install pygraphviz,但失败并出现错误:

“需要 Microsoft Visual C++ 14.0。...”

我安装了 Visual Studio 2017。那不应该做这个工作吗?我想我检查了与 C 相关的每个框。

如果我尝试安装 vc_redist.x64.exe,它会告诉我已经安装了另一个版本。

(我认为我对 SciKit-learn 和 Scipy 有类似/相关的问题。)

最佳答案

来自 PyGraphviz 文档 -

To use PyGraphviz you need Python version 2.6.x or 2.7.x. PyGraphviz does not work with Python 3.

link了解更多信息。

关于c++ - pygraphviz 的 Python 3 pip 安装失败, "Microsoft Visual C++ is required",已安装 Visual Studio 2017,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/44842965/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com