How to fix this ?
digitalfantazy
TRIALOP

2 years ago

Downloading psycopg2-2.9.9.tar.gz (384 kB)

#10 8.321 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 384.9/384.9 kB 58.2 MB/s eta 0:00:00

#10 8.418 Preparing metadata (setup.py): started

#10 8.869 Preparing metadata (setup.py): finished with status 'error'

#10 8.889 error: subprocess-exited-with-error

#10 8.889

#10 8.889 × python setup.py egg_info did not run successfully.

#10 8.889 │ exit code: 1

#10 8.889 ╰─> [23 lines of output]

#10 8.889 running egg_info

#10 8.889 creating /tmp/pip-pip-egg-info-9c00nc3i/psycopg2.egg-info

#10 8.889 writing /tmp/pip-pip-egg-info-9c00nc3i/psycopg2.egg-info/PKG-INFO

#10 8.889 writing dependency_links to /tmp/pip-pip-egg-info-9c00nc3i/psycopg2.egg-info/dependency_links.txt

#10 8.889 writing top-level names to /tmp/pip-pip-egg-info-9c00nc3i/psycopg2.egg-info/top_level.txt

#10 8.889 writing manifest file '/tmp/pip-pip-egg-info-9c00nc3i/psycopg2.egg-info/SOURCES.txt'

#10 8.889

#10 8.889 Error: pg_config executable not found.

#10 8.889

#10 8.889 pg_config is required to build psycopg2 from source. Please add the directory

#10 8.889 containing pg_config to the $PATH or specify the full executable path with the

#10 8.889 option:

#10 8.889

#10 8.889 python setup.py build_ext --pg-config /path/to/pg_config build ...

#10 8.889

#10 8.889 or with the pg_config option in 'setup.cfg'.

#10 8.889

#10 8.889 If you prefer to avoid building psycopg2 from source, please install the PyPI

#10 8.889 'psycopg2-binary' package instead.

#10 8.889

#10 8.889 For further information please check the 'doc/src/install.rst' file (also at

#10 8.889 ;).

#10 8.889

#10 8.889 [end of output]

View Deploy details

> ⓘ Deployment information is only viewable by Project members and Railway admins.

2 Replies

2 years ago

Use the binary version of psycopg2


digitalfantazy
TRIALOP

2 years ago

Use the binary version of psycopg2

I tried, still an error with ps_config. The point is, I don't use PostgreSQL. Django has a built-in sqlite3 database, why do I need another one?

Or am I obligated to use it?


Welcome!

Sign in to your Railway account to join the conversation.

Loading...