Replies: 1 comment 2 replies
-
|
To resolve the "No module named 'psycopg2'" error, you need to ensure that the
The RUN $POETRY_HOME/bin/poetry lock --no-update \
&& $POETRY_HOME/bin/poetry install --without dev --sync -E deploy -E couchbase -E cassio \
&& $POETRY_HOME/bin/poetry build -f wheel \
&& $POETRY_HOME/bin/poetry run pip install dist/*.whlThis should resolve the "No module named 'psycopg2'" error [1][2]. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Uh oh!
There was an error while loading. Please reload this page.
-
i build the docker image with the docker/build_and_push.Dockerfile, but it return error when i run the docker_example/docker-compose.yml , No module named 'psycopg2'

how can i solve it ???
Beta Was this translation helpful? Give feedback.
All reactions