I have installed pip install ipython-sql. I am trying to run
%load_ext sql
but it returns
The sql module is not an IPython extension.
How can I get sql running in ipython?
I have installed pip install ipython-sql. I am trying to run
%load_ext sql
but it returns
The sql module is not an IPython extension.
How can I get sql running in ipython?
I reinstalled ipython-sql using the following command, and everything worked out.You are not saying you are running conda thus I am assuming you are simply using a python in jupyter-notebook. This worked for python versions 3.6.9
sudo -H python3 -m pip install ipython-sql
Seems as if this happened to me because I did not have access to pip's parent directory. (in my case I was in a virtual environment) attempting to make the normal pip install ipython-sql which is why I used the -H flag after sudo.