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

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s