Próbuję przesłać mój projekt (w python), który używa Psycopg2 dla Amazon Elastic Beanstalk. Robię to z plikiem zip zawierającym mój projekt i plik requirements.txt.Psycopg2 na Amazon Elastic Beanstalk
Ale ja dostaję ten błąd:
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
Jak mogę rozwiązać ten na Amazon?
Jak wygląda twój plik requirements.txt? – Talvalin
Mój requirements.txt to: tornado> = 2.0.0 httplib2> = 0,8 psycopg2> = 2.4.6 – ECC
Co stanie się, jeśli uruchomisz 'which pg_config'? – Talvalin