I'm trying to import pandas in a Jupyter-Notebook, but I keep getting the following error. BTW, I use conda as my package/virtual environment manager and this error arises regardless of the environment currently active:
Additionally, when I try to install pandas (again) I am met with the following message:
I'm aware that my post is similar to this one: ModuleNotFoundError: No module named 'pandas._libs.interval' and I would like to try to uninstall the user-level Python, as suggested in the afore mentioned post, but I don't know how and I would greatly appreciate concrete steps to doing so:
Thank you for your time!
I have tried the following:
- Creating a new conda environment as shown in the following code:
conda create --name py37 python=3.7 pandas numpy ipykernel matplotlib jupyter
- Uninstalling and reinstalling pandas in the Jupyter-Notebook.
- I have also tried the following code using a different environment:
source activate penv
conda install ipykernel
python -m ipykernel install --user --name penv --display-name "py37k"