Python 3 Pip Installation Of Pygraphviz Fails, "microsoft Visual C++ Is Required", Visual Studio 2017 Is Installed
I tried to pip install pygraphviz, which failed with the error: 'Microsoft Visual C++ 14.0 is required. ...' I have Visual Studio 2017 installed. Shouldn't that do the job? I think
Solution 1:
From PyGraphviz documentation -
To use PyGraphviz you need Python version 2.6.x or 2.7.x. PyGraphviz does not work with Python 3.
link to more info.
Solution 2:
Visual Studio 2017 comes with version 15 of the C++ compiler. It's quite possible that pygraphviz truly wants version 14 (rather than 14-or-better). Version 14 came with VS 2015.
Microsoft's C++ compiler routinely breaks the ABI of the standard library between major versions. They may stop doing that in the future, but that doesn't help you with this problem. You need to get your hands on VC++ 14 (or at least the redistributables that came with VC++14).
Post a Comment for "Python 3 Pip Installation Of Pygraphviz Fails, "microsoft Visual C++ Is Required", Visual Studio 2017 Is Installed"