superset icon indicating copy to clipboard operation
superset copied to clipboard

ERROR: {"error": "Connection failed!\n\nThe error message returned was:\nNo module named psycopg2"}

Open 369488685 opened this issue 8 years ago • 1 comments

Make sure these boxes are checked before submitting your issue - thank you!

  • [x] I have checked the superset logs for python stacktraces and included it here as text if any
  • [x] I have reproduced the issue with at least the latest released version of superset
  • [x] I have checked the issue tracker for the same issue and I haven't found one similar

Superset version

0.26.3

Expected results

seems ok

Actual results

ERROR: {"error": "Connection failed!\n\nThe error message returned was:\nNo module named psycopg2"}

Steps to reproduce

when i edit the sources,I entered SQLalchemy:postgresql://[email protected]:5432/postgres I already used 'pip install psycodg2',but still have this proplem.

369488685 avatar Jul 17 '18 06:07 369488685

I forgot install psycopg2 in virtualenv

369488685 avatar Jul 17 '18 08:07 369488685