Amazon Elastic BeanstalkのPsycopg2を使用している私のプロジェクト(Pythonで)をアップロードしようとしています。私は私のプロジェクトとrequirements.txtファイルを含むzipファイルでこれをやっています。Amazon Elastic BeanstalkのPsycopg2
しかし、私はこのエラーを受けています:
Downloading/unpacking psycopg2>=2.4.6 (from -r /opt/python/ondeck/app/requirements.txt (line 3)) Running setup.py egg_info for package psycopg2 Error: pg_config executable not found.
Please add the directory containing pg_config to the PATH or specify the full executable path with the option: python setup.py build_ext --pg-config /path/to/pg_config build ... or with the pg_config option in 'setup.cfg'. Complete output from command python setup.py egg_info: running egg_info
私はAmazonでこの問題を解決するにはどうすればよいですか?
requirements.txtファイルはどのようなものですか? – Talvalin
私のrequirements.txtは: 竜巻> = 2.0.0 httplib2> = 0.8 psycopg2> = 2.4.6 – ECC
'which pg_config'を実行するとどうなりますか? – Talvalin