Open SabineHaas opened 5 years ago
Because of the ~depreciation~ warning, I am suggesting psycopg2-binary instead of psycopg2
I am still not sure about that. The warning is not a deprecation warning. The problem is a known issue with concurrent database connections that might lead to random segfault when using wheels. Thus, psycopg is splitting into two modes of installation:
Especially with long running simulation scripts, I would argue to choose reliability over convenience.
Since #19 is merged, this issue could be closed.
However in #19 psycopg2-binary was chosen over psycopg2.
I tried the install pip install psycopg2
and I had an error message which told me :
Error: 'You need to install postgresql-server-dev-NN for building a
server-side extension or libpq-dev for building a client-side application.'
After sudo apt install libpq-dev
, pip install psycopg2
worked :) (I have Ubuntu 18.04.2 LTS)
If @MGlauer says it is more reliable, I would also vote for psycopg2
When I import oedialect (installed via pip) I get the following error message.
I'd suggest to add psycopg2 to the setup file.