I am trying to import pandasql. I am running the following code in a jupyter notebook running python:
!pip install pandasql
from pandasql import sqldf
import pandas as pd
This logs an error saying ModuleNotFoundError: No Module name 'pandasql'
I understand this is a common problem and have tried using the following SO posts to fix the solution without results:
ImportError: No module named pandas
How to fix ModuleNotFoundError: No module named 'pandas_datareader'
pandasql will not import : ImportError: cannot import name to_sql