diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 4c3e4113..9e056fc6 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -16,6 +16,7 @@ jobs: python -m pip install poetry poetry config virtualenvs.in-project true poetry install + poetry add psycopg2-binary - name: Make files run: | make metropolis/local_rsa_privkey.pem diff --git a/docs/onboarding.md b/docs/onboarding.md index 89b3f11d..63f6fc6a 100644 --- a/docs/onboarding.md +++ b/docs/onboarding.md @@ -32,6 +32,8 @@ poetry run python ./manage.py runserver ``` ### Errors +##### Any issue with psycopg2 +- `pip install psycopg2-binary` and try again (pip3 if you have both python 2 and 3 installed) #### Windows ###### poetry ModuleNotFoundError: No module named 'charset_normalizer' reinstall poetry and run poetry install in an elevated (admin) terminal