Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docker build command errored with psycopg2 issue #2

Open
bsliu17 opened this issue Jul 27, 2018 · 3 comments
Open

docker build command errored with psycopg2 issue #2

bsliu17 opened this issue Jul 27, 2018 · 3 comments

Comments

@bsliu17
Copy link

bsliu17 commented Jul 27, 2018

Hi mark, first of all awesome tutorial on k8s and django. There's an issue with running docker build command, and the issue is below:

/psycopg2–2.7.3.2.tar.gz (425kB)
 Complete output from command python setup.py egg_info:
 running egg_info
 creating pip-egg-info/psycopg2.egg-info
 writing pip-egg-info/psycopg2.egg-info/PKG-INFO
 writing dependency_links to pip-egg-info/psycopg2.egg-info/dependency_links.txt
 writing top-level names to pip-egg-info/psycopg2.egg-info/top_level.txt
 writing manifest file ‘pip-egg-info/psycopg2.egg-info/SOURCES.txt’
 Error: pg_config executable not found.

I think you mentioned in your medium post that this has been updated, but i still get the issue as of 7/26/2018.

@gitumarkk
Copy link
Owner

Hi, I fixed it for the one branch but never got around to updating all the other branches, everything should be up to date now, the pyscopg2 version should be 2.7.5.

@bkovacev
Copy link

I was skimming the tutorial so I haven't religiously followed all the steps, but I fixed the error by changing the python version from 3-slim to 3.6 (we can't use 3.7 as of yet).

@gitumarkk
Copy link
Owner

Yeah, that's one way to fix it, it seems the version update brought about some breaking changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants