fix: add psycopg2 to dependencies for PostgreSQL support
Some checks failed
Cross-Node Transaction Testing / transaction-test (push) Successful in 4s
Deploy to Testnet / deploy-testnet (push) Has been cancelled
Multi-Node Stress Testing / stress-test (push) Has been cancelled

- Add psycopg2 alongside psycopg2-binary
- Fix ModuleNotFoundError: No module named 'psycopg'
This commit is contained in:
aitbc
2026-05-20 09:53:47 +02:00
parent 6e9a26e585
commit b80475412e

View File

@@ -96,7 +96,7 @@ setup_python_environment() {
# Install essential blockchain-node dependencies
log_info "Installing essential dependencies"
pip install pydantic pydantic-settings fastapi uvicorn sqlalchemy sqlmodel psycopg2-binary aiosqlite httpx redis prometheus-client alembic
pip install pydantic pydantic-settings fastapi uvicorn sqlalchemy sqlmodel psycopg2-binary psycopg2 aiosqlite httpx redis prometheus-client alembic
# Install blockchain-node package in editable mode
if [ -f "apps/blockchain-node/pyproject.toml" ]; then