admin管理员组

文章数量:1291799

I created a new conda environment using the command conda create --name <my-env> and then installed some python packages using the following command conda install -n <my-env> numpy pandas matplotlib seaborn. Finally I activated my environment using the command conda activate <my-env> and fired up Jupyter Notebook and started a new notebook. Kernel used here is Python 3. All packaged except seaborn are imported without any error. I get the following error for importing seaborn package.

---------------------------------------------------------------------------
ModuleNotFoundError                       Traceback (most recent call last)
Cell In[4], line 1
----> 1 import seaborn as sns

ModuleNotFoundError: No module named 'seaborn'

I have searched related questions on this forum, but can't find the answers. Edit : I am on Windows

Thanks

本文标签: condaModuleNotFoundError for seaborn package inside JupyterStack Overflow