-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
Using your image, I still was not able to install psycopg2.
Collecting psycopg2==2.7.3.2 (from -r requirements.txt (line 30))
Downloading 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'
warning: manifest_maker: standard file '-c' not found
Error: pg_config executable not found.
Please add the directory containing pg_config to the PATH
or specify the full executable path with the option:
python setup.py build_ext --pg-config /path/to/pg_config build ...
or with the pg_config option in 'setup.cfg'.
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-qq370jos/psycopg2/
Requirements.txt
psycopg2==2.7.3.2
Dockerfile
FROM uroybd/python3-psycopg2-alpine:3.6
ENV PYTHONUNBUFFERED 1
COPY ./ /usr/src/app
WORKDIR /usr/src/app
RUN pip install -r requirements.txt
CMD ["python3", "server.py"]
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels