On 3/3/20 1:26 PM, David Krantz wrote:
Hi,
I tried psycopg2-binary and a few other rehashes of that. Now I got it working by downloading the source for psycopg2 manually and building it myself, then I installed it into my venv like any other self-built package. https://pypi.org/project/psycopg2/#files
I'm glad you got it working. I think installing psycopg2-binary with pip should have worked, so I suspect there was some residue of psycopg2 somewhere in the search path ahead of the psycopg2-binary that was the issue.
I run mod_wsgi in Apache so I thought it should be enough to restart Apache.
Yes, that should be sufficient.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan