前提・実現したいこと
ターミナル上でapache-airflowをインストールしたいと思い、pipでインストールしたのですが、エラーが出てしまい、その後のairflow initdbのコマンドなどが使えない状態です。どのように対処すべきでしょうか。
発生している問題・エラーメッセージ
ERROR: Command errored out with exit status 1: command: /anaconda3/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/7k/pt75fxp548q6sq6wqf_f4t6h0000gn/T/pip-install-0xshbfpc/setproctitle/setup.py'"'"'; __file__='"'"'/private/var/folders/7k/pt75fxp548q6sq6wqf_f4t6h0000gn/T/pip-install-0xshbfpc/setproctitle/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /private/var/folders/7k/pt75fxp548q6sq6wqf_f4t6h0000gn/T/pip-wheel-y054btga cwd: /private/var/folders/7k/pt75fxp548q6sq6wqf_f4t6h0000gn/T/pip-install-0xshbfpc/setproctitle/ Complete output (16 lines): running bdist_wheel running build running build_ext building 'setproctitle' extension creating build creating build/temp.macosx-10.9-x86_64-3.7 creating build/temp.macosx-10.9-x86_64-3.7/src x86_64-apple-darwin13.4.0-clang -DNDEBUG -fwrapv -O3 -Wall -Wstrict-prototypes -march=core2 -mtune=haswell -mssse3 -ftree-vectorize -fPIC -fPIE -fstack-protector-strong -O2 -pipe -D_FORTIFY_SOURCE=2 -mmacosx-version-min=10.9 -DSPT_VERSION=1.1.10 -D__darwin__=1 -I/anaconda3/include/python3.7m -c src/setproctitle.c -o build/temp.macosx-10.9-x86_64-3.7/src/setproctitle.o In file included from src/setproctitle.c:14: In file included from src/spt.h:15: In file included from src/spt_python.h:14: /anaconda3/include/python3.7m/Python.h:25:10: fatal error: 'stdio.h' file not found #include <stdio.h> ^~~~~~~~~ 1 error generated. error: command 'x86_64-apple-darwin13.4.0-clang' failed with exit status 1 ---------------------------------------- ERROR: Failed building wheel for setproctitle
ERROR: Command errored out with exit status 1: command: /anaconda3/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/7k/pt75fxp548q6sq6wqf_f4t6h0000gn/T/pip-install-0xshbfpc/setproctitle/setup.py'"'"'; __file__='"'"'/private/var/folders/7k/pt75fxp548q6sq6wqf_f4t6h0000gn/T/pip-install-0xshbfpc/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 /private/var/folders/7k/pt75fxp548q6sq6wqf_f4t6h0000gn/T/pip-record-coc0wj29/install-record.txt --single-version-externally-managed --compile --install-headers /anaconda3/include/python3.7m/setproctitle cwd: /private/var/folders/7k/pt75fxp548q6sq6wqf_f4t6h0000gn/T/pip-install-0xshbfpc/setproctitle/ Complete output (16 lines): running install running build running build_ext building 'setproctitle' extension creating build creating build/temp.macosx-10.9-x86_64-3.7 creating build/temp.macosx-10.9-x86_64-3.7/src x86_64-apple-darwin13.4.0-clang -DNDEBUG -fwrapv -O3 -Wall -Wstrict-prototypes -march=core2 -mtune=haswell -mssse3 -ftree-vectorize -fPIC -fPIE -fstack-protector-strong -O2 -pipe -D_FORTIFY_SOURCE=2 -mmacosx-version-min=10.9 -DSPT_VERSION=1.1.10 -D__darwin__=1 -I/anaconda3/include/python3.7m -c src/setproctitle.c -o build/temp.macosx-10.9-x86_64-3.7/src/setproctitle.o In file included from src/setproctitle.c:14: In file included from src/spt.h:15: In file included from src/spt_python.h:14: /anaconda3/include/python3.7m/Python.h:25:10: fatal error: 'stdio.h' file not found #include <stdio.h> ^~~~~~~~~ 1 error generated. error: command 'x86_64-apple-darwin13.4.0-clang' failed with exit status 1 ---------------------------------------- ERROR: Command errored out with exit status 1: /anaconda3/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/7k/pt75fxp548q6sq6wqf_f4t6h0000gn/T/pip-install-0xshbfpc/setproctitle/setup.py'"'"'; __file__='"'"'/private/var/folders/7k/pt75fxp548q6sq6wqf_f4t6h0000gn/T/pip-install-0xshbfpc/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 /private/var/folders/7k/pt75fxp548q6sq6wqf_f4t6h0000gn/T/pip-record-coc0wj29/install-record.txt --single-version-externally-managed --compile --install-headers /anaconda3/include/python3.7m/setproctitle Check the logs for full command output.
該当のソースコード
python3
1pip install apache-airflow
試したこと
python3
1pip uninstall enum34
補足情報(FW/ツールのバージョンなど)
MacOS Mojave 10.14.6
Python 3.7.3
pip 20.0.1

回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。