在Windows 10上安装Apache Airflow时出错

时间:2019-06-13 17:41:26

标签: python pip airflow python-3.7

我正在尝试在Windows 10上安装Apache airflow。

Python已安装在计算机版本3.7.2中 已经安装了Microsoft Visual C ++

我按下命令pip install apache airflow,出现以下错误:

ERROR: Complete output from command 'c:\users\hp\appdata\local\programs\python\python37-32\python.exe' -u -c 'import setuptools, tokenize;__file__='"'"'C:\\Users\\HP\\AppData\\Local\\Temp\\pip-install-xdobwk6h\\setproctitle\\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\HP\AppData\Local\Temp\pip-record-0pfau9jq\install-record.txt' --single-version-externally-managed --compile:
    ERROR: running install
    running build
    running build_ext
    building 'setproctitle' extension
    error: Microsoft Visual C++ 14.0 is required. Get it with "Microsoft Visual C++ Build Tools": https://visualstudio.microsoft.com/downloads/
    ----------------------------------------
ERROR: Command "'c:\users\hp\appdata\local\programs\python\python37-32\python.exe' -u -c 'import setuptools, tokenize;__file__='"'"'C:\\Users\\HP\\AppData\\Local\\Temp\\pip-install-xdobwk6h\\setproctitle\\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\HP\AppData\Local\Temp\pip-record-0pfau9jq\install-record.txt' --single-version-externally-managed --compile" failed with error code 1 in C:\Users\HP\AppData\Local\Temp\pip-install-xdobwk6h\setproctitle\

已安装Microsoft Visual C ++,但仍然遇到问题。

0 个答案:

没有答案