Closed MikeTheCanuck closed 7 years ago
This is a common error when setting up django and postgres. The requirements.txt calls for installing the psycopg2 python module, but psycopg2 has a dependency on libpq-dev system library. So that module must be installed prior to running the pip install command from your steps listing. Running the following command just prior should fix the error:
sudo apt-get install python-dev libpq-dev postgresql-contrib
I followed the
transportation-backend/README.md
instructions up to thepip install
on a clean High Sierra MacBook:And this is the output I received: