Ask Your Question

Revision history [back]

If you are using Debian or Ubuntu, you can try the following (from a terminal):

sudo apt install libpq-dev python-dev
sage -pip install psycopg2

If not, could you please give us some informations so that someone can try to reproduce your problem:

  • which OS ?
  • did you install Sage from the binaries, and which ones ?
  • did you compile Sage yourself ?
  • ... ?