bgschiller / postgres_kernel

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

put . before version #2

Closed ghost closed 6 years ago

ghost commented 7 years ago

My kernel kept dying with the error message "No module named version". I honestly don't know why this happens but I noticed that in the Jupyter source files all module names are preceded by a point. When I edited init.py on my computer to add the point this fixed the problem. (windows 10 x64, python 3.5.2, Anaconda, Jupyter 4.2.0)

baldwint commented 7 years ago

Adding the dot also fixed it for me (Mac OS El Cap, Python 3.5.2 from Homebrew, Jupyter 4.2.1 from pip). I think it's a Python 3 thing.