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

psycopg2 报错 #2

Open
byr0nchan opened this issue Nov 27, 2018 · 1 comment
Open

psycopg2 报错 #2

byr0nchan opened this issue Nov 27, 2018 · 1 comment

Comments

@byr0nchan
Copy link

在执行命令是报错:
#docker-compose build
...
...
...
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-install-tu4ixlc4/psycopg2/
ERROR: Service 'web' failed to build: The command '/bin/sh -c pip3 install --upgrade pip && pip3 install -r requirements.txt' returned a non-zero code: 1

@slowmistio
Copy link

Downloading https://files.pythonhosted.org/packages/7b/a8/dc2d50a6f37c157459cd18bab381c8e6134b9381b50fbe969997b2ae7dbc/psycopg2-2.6.2.tar.gz (376kB)
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: could not determine PostgreSQL version from '10.5'

----------------------------------------

Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-install-u0tn_61p/psycopg2/
ERROR: Service 'web' failed to build: The command '/bin/sh -c pip3 install --upgrade pip && pip3 install -r requirements.txt' returned a non-zero code: 1

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

2 participants