Issue
I'm running my Jupyter Notebook in a virtual environment.
I've installed pandas in it with pip3 install pandas
(I've tried with sudo python3 -m pip install pandas
in other venv and without sudo
, too, like this other post suggests)
I've tried doing
export PYTHONPATH=/home/myuser/Notebooks/venv/lib/python3.8/site-packages
but the error remains (I've restarted the notebook kernel, as well). Any idea?
Solution
Installing packages from Notebook running this cell:
! pip install --user numpy
! pip install --user pandas
changing the kernel reselecting Python3 in Kernel -> Change kernel
and restarting it, the problem was fixed!
Answered By - Palinuro