Skip to content Skip to sidebar Skip to footer

Seaborn Importerror: Dll Load Failed: The Specified Module Could Not Be Found

I am getting the 'ImportError: DLL load failed: The specified module could not be found.' when importing the module seaborn. I tried uninstalling both seaborn and matplotlib, then

Solution 1:

I was having this issue until I uninstalled and reinstalled scipy with the pip command. Just got to your command line and type pip uninstall scipy and pip install scipy.

Hopefully that works for you as well. I also uninstalled/installed seaborn before this although I'm not sure if that was necessary.

Using conda rather than pip may also work.

Solution 2:

What solved this for me was installing seaborn via conda:

conda install seaborn

And then restarting the kernel

Solution 3:

The problem is because you are using windows. Scipy has problems with windows, if you check the sklearn site they say if you were unsuccessful for installing their packages by pip or conda you can install them with unofficial windows binary packages

so what you need to do is this, find your required package in This Link and download it

uninstall your previous installed packages :

pip uninstall seaborn

install all you need from this link, i suggest you to install numpy , pandas, matplotlib, seaborn , ... from this link

after you downloaded the required package, open your cmd, go to the folder that contains the .whl file

you can install them by the following command :

pip install "seaborn‑0.8.1‑py2.py3‑none‑any.whl"

Solution 4:

I had the same problem.

I uninstalled seaborn with pip uninstall seaborn and then I installed it with pip install seaborn

Then it didn't work so I restarted the KERNEL and it works.

Solution 5:

I also had the same problem with Windows 10. After upgraded my python version from 3.7 to 3.9 and reinstall all the packages, the issue disappears. Guess it also works for python 3.8 but has not been verified.

Update: Found the comments in Scipy: Lib\site-packages\scipy_distributor_init.py: "minimum supported Python version is 3.8". Also verified that python 3.8 works in my Windows 10.

Post a Comment for "Seaborn Importerror: Dll Load Failed: The Specified Module Could Not Be Found"