jupyter-xeus / xeus-sql

Jupyter kernel for SQL databases
https://xeus-sql.readthedocs.io/en/latest/
BSD 3-Clause "New" or "Revised" License
163 stars 22 forks source link

Example PostgreSQL database doesn't load in Binder #34

Open ClaytonJY opened 3 years ago

ClaytonJY commented 3 years ago

From the binder link, I can't get PostgreSQL.ipynb to work as expected; when loading the database, I get Error: Failed to find shared library for backend postgresql: image

Is it possible to make this one work with binder?

marimeireles commented 3 years ago

Hi @ClaytonJY sorry for the delay, I missed the issue somehow. Aahm, I'm not sure, because I'm not a binder expert. What we need is to have a PostgreSQL server running on binder and then pass the right path to it in dbname. I'd say is possible because I know people have done it for Neo4j see example. Unfortunately I don't have the time to work on it now, but I'll happily review a PR! :) If anyone is interested in taking it. Thanks for reporting, I didn't know it wasn't working on binder (but it makes sense, since we haven't done anything to prepare it to do so).