質問をすることでしか得られない、回答やアドバイスがある。

15分調べてもわからないことは、質問しよう!

新規登録して質問してみよう
ただいま回答率
85.50%
terminal

Terminalは、Apple社のmacOSに標準で付属しているUNIX端末エミュレータ。UNIXコマンドによってMacの操作および設定を行うことができます。

Apache

Apacheは、Apache HTTP Serverの略で、最も人気の高いWebサーバソフトウェアの一つです。安定性が高いオープンソースソフトウェアとして商用サイトから自宅サーバまで、多くのプラットフォーム向けに開発・配布されています。サーバーソフトウェアの不具合(NCSA httpd)を修正するパッチ(a patch)を集積、一つ独立したソフトウェアとして開発されました。

MacOS(OSX)

MacOSとは、Appleの開発していたGUI(グラフィカルユーザーインターフェース)を採用したオペレーションシステム(OS)です。Macintoshと共に、市場に出てGUIの普及に大きく貢献しました。

Q&A

解決済

1回答

1939閲覧

apache-airflowのインストール

退会済みユーザー

退会済みユーザー

総合スコア0

terminal

Terminalは、Apple社のmacOSに標準で付属しているUNIX端末エミュレータ。UNIXコマンドによってMacの操作および設定を行うことができます。

Apache

Apacheは、Apache HTTP Serverの略で、最も人気の高いWebサーバソフトウェアの一つです。安定性が高いオープンソースソフトウェアとして商用サイトから自宅サーバまで、多くのプラットフォーム向けに開発・配布されています。サーバーソフトウェアの不具合(NCSA httpd)を修正するパッチ(a patch)を集積、一つ独立したソフトウェアとして開発されました。

MacOS(OSX)

MacOSとは、Appleの開発していたGUI(グラフィカルユーザーインターフェース)を採用したオペレーションシステム(OS)です。Macintoshと共に、市場に出てGUIの普及に大きく貢献しました。

0グッド

0クリップ

投稿2020/01/24 06:04

前提・実現したいこと

ターミナル上で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

気になる質問をクリップする

クリップした質問は、後からいつでもMYページで確認できます。

またクリップした質問に回答があった際、通知やメールを受け取ることができます。

バッドをするには、ログインかつ

こちらの条件を満たす必要があります。

guest

回答1

0

ベストアンサー

やっていることは違いますが同じようにstdio.hが見つからないという内容の記事がありますので、同じようにしてみてはいかがでしょうか
XcodeもしくはXcode Command Line Toolsがインストールされていないようでしたら合わせてインストールが必要かと思います

投稿2020/01/24 14:00

退会済みユーザー

退会済みユーザー

総合スコア0

バッドをするには、ログインかつ

こちらの条件を満たす必要があります。

あなたの回答

tips

太字

斜体

打ち消し線

見出し

引用テキストの挿入

コードの挿入

リンクの挿入

リストの挿入

番号リストの挿入

表の挿入

水平線の挿入

プレビュー

15分調べてもわからないことは
teratailで質問しよう!

ただいまの回答率
85.50%

質問をまとめることで
思考を整理して素早く解決

テンプレート機能で
簡単に質問をまとめる

質問する

関連した質問