Describe the bug
Python module psycopg2 is missing when using Postgresql.
To Reproduce
Steps to reproduce the behavior:
- Install this formula,
- configure .env for use with a Postgres database,
- Execute the manage.py command 'check',
- Receive "Error loading psycopg2 module: No module named 'psycopg2'"
Expected behavior
Given correct database credentials in the .env file, the check command should complete successfully.
Screenshots
Desktop (please complete the following information):
Additional context
Saltstack 3004, newly saltedt master.
Temporary Fix:
I entered the virtual environment as the alcali user and after activating I installed psycopg2 by issuing 'pip install psycopg2' which resolved the issue.