Pythonのサブプロセスの問題

2017- 06- 30 09 24 01、609] {__init_ _ PY 57} INFO - エグゼキュータの使用SequentialExecutorを___________ _ ____________ _ ___ _ | _ _()________ _ _ _ / _ _ / _______ _ _ _ ___ _ / | | _ / _ _ __ _ / _ / _ _ _ / _ _ _ \ _ | / | / / __ _ __ _ | / _ / _ _ _ / _ / / / _ / / _ | / |/ / _ / _ / | _ / _ / / _ / / _ / / _ / \ ___ _ / ___ _ / | _ _ / は/ usr / local / pythonの/ libに/ python2 0.7 /サイトパッケージ/フラスコ/ exthook PY 71 ExtDeprecationWarning フラスコインポート.EXT .cache廃止され、使用代わりflask_cache。.format(X = MODNAME)、ExtDeprecationWarning [ 2017- 06- 30 09 24 02、045] [ 29107] {モデルPY 167}INFO - アップ充填から/ルート/気流/ DAGのDagBagを実行Gunicorn サーバーをと:労働者4の同期ホスト0 0 0 0 8080 タイムアウト120個のログファイル: - - ======================================== ========================= トレースバック(最新のコールの最後)ファイル"は/ usr / local /パイソン/ binに/気流"、ライン28、で、< モジュール> argsを.func(引数)ファイル"/usr/local/python/lib/python2.7/site-packages/airflow/bin/cli.py"、行791、ウェブサーバgunicorn_master_proc =サブプロセスpopen(run_args)ファイル"/usr/local/python/lib/python2.7/subprocess.py"、ライン390、__init_で_ errread、errwrite)ファイル「/usr/local/python/lib/python2.7/subprocess .py」、行1024、_execute_childレイズchild_exceptionの中OSErrorの:[ errnoを2] そのようなファイルまたはディレクトリ

ソリューション

/usr/local/python-2.7.13/bin/ 環境変数の設定

輸出PATHは= $ PATHを:は/ usr / local / python- 2.7。13 / binに/

おすすめ

転載: www.cnblogs.com/hshy/p/12123269.html