Python install fails while building psycopg2

Error recorded 1 times in PanelAlpha Engine deploys on Python. The deploy log below is the recorded failure output.

Seen1 times
WherePython

Why it happens

The deployment installs psycopg2==2.9.9 from source because no compatible wheel was selected. Building it requires PostgreSQL's pg_config, which is missing from the Python build environment. The license warning is informational; the missing pg_config causes the failure.

What the log looks like

Deploy log
Collecting psycopg2==2.9.9Downloading psycopg2-2.9.9.tar.gzGetting requirements to build wheel: finished with status 'error'error: subprocess-exited-with-errorError: pg_config executable not found.pg_config is required to build psycopg2 from source.

Try PanelAlpha Engine yourself.

The easiest way to turn your server into a safe, controlled environment for your AI agent. Deploy, manage and maintain any project from Claude Code, Cursor, Codex or any other MCP client. Open source under Apache 2.0, free to run.

Requires Ubuntu 24.04 or 26.04 · 2 GB RAM · 1 CPURead the documentation