bgschiller / postgres_kernel

A simple Jupyter kernel for PostgreSQL
MIT License
64 stars 19 forks source link

unable to connect with localhost #5

Closed mythical-programmer closed 5 years ago

mythical-programmer commented 7 years ago

I am getting this error and kernel is always restarting.

(::1) 15.17ms referer=http://localhost:8889/notebooks/Untitled.ipynb?kernel_name=postgres
/Library/Frameworks/Python.framework/Versions/3.5/bin/python3: Error while finding spec for 'postgres_kernel.__main__' (<class 'ImportError'>: No module named 'version'); 'postgres_kernel' is a package and cannot be directly executed
bgschiller commented 7 years ago

I suspect this is specific to python 3. I didn't test python3 while developing.

I'll try and take a look at this when I have time, but it's not a project I'm very active on. Anyone reading this is welcome to take a stab at it.

ps, sorry about the slow response, I was somehow not getting notifications of these issues.

bgschiller commented 5 years ago

Tested and working with localhost, python3 in version 0.2.1