如何在pycharm上安装pygraphviz?

时间:2019-05-17 17:51:19

标签: python pycharm pygraphviz

我试图在Windows 10和python 3.6的pycharm上安装“ pygraphviz”软件包,但始终会出现以下错误:

“错误:需要Microsoft Visual C ++ 14.0。使用“ Microsoft Visual C ++生成工具”获取它:http://landinghub.visualstudio.com/visual-cpp-build-tools

Command "C:\Users\Admin1\AppData\Local\Programs\Python\Python37-32\python.exe -u -c "import setuptools, tokenize;__file__='C:\\Users\\Admin1\\AppData\\Local\\Temp\\pycharm-packaging\\pygraphviz\\setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record C:\Users\Admin1\AppData\Local\Temp\pip-record-n_p8yuey\install-record.txt --single-version-externally-managed --compile --user --prefix=" failed with error code 1 in C:\Users\Admin1\AppData\Local\Temp\pycharm-packaging\pygraphviz\ You are using pip version 10.0.1, however version 19.1.1 is available. You should consider upgrading via the 'python -m pip install --upgrade pip' command.

0 个答案:

没有答案