%reload_ext sql
%sql sqlite://
The second line can't be compiled and the report says: UsageError: Line magic function %sql not found. With Python3.8, jupyter notebook.
The issue was solved for me using conda to install "ipython-sql", NOT using PIP.
conda install -c conda-forge ipython-sql
UsageError: Line magic function `%sql` not found