Shkurupii commented on issue #11765:
URL: 
https://github.com/apache/incubator-superset/issues/11765#issuecomment-736721734


   `ModuleNotFoundError: No module named 'postgresql'` means your celery 
backend is misconfigured.  I have checked celery backend config 
https://docs.celeryproject.org/en/latest/userguide/configuration.html#conf-database-result-backend
 and your latest superset_config.py file and found smth. See an example from 
documentation:
   ```
   # postgresql
   result_backend = 'db+postgresql://scott:tiger@localhost/mydatabase'
   ```
   I guess you should update your config with 
   `CELERY_RESULT_BACKEND = 
"db+postgresql+psycopg2://matteo:[email protected]:5432/superset_loc"` or 
`CELERY_RESULT_BACKEND = 
"db+postgresql://matteo:[email protected]:5432/superset_loc"` and re-run celery.
   
   In my 1st example I have also different connection strings for:
   ```
   CELERY_RESULT_BACKEND = 'db+mysql://superset:passsssword@localhost/superset'
   SQLALCHEMY_DATABASE_URI = 'mysql://superset:passsssword@localhost/superset'
   ```


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to