docker

Fix: Failed to install psycopg2 on Docker using Alpine Linux

I got this error when building my docker images using Linux alpine.

Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-install-00rq050n/psycopg2/

And I fixed the issue by following this github issue https://github.com/frol/docker-alpine-python3/issues/1#issuecomment-180163577

Advertisements