如何在pycharm上安装pygraphviz?

2024-04-25 08:16:23 发布

您现在位置:Python中文网/ 问答频道 /正文

我试图在安装了windows 10和Python3.6的pycharm上安装“pygraphviz”软件包,但总是出现以下错误:

错误:微软Visual C++ 14是必需的。用“微软Visual C++构建工具”:http://landinghub.visualstudio.com/visual-cpp-build-tools< /p>

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.


Tags: installpipversionlocal错误coderecordusers