Home>

No error until installation, but an error occurs at import seaborn. After updating, I tried pip uninstall seaborn and pip install seaborn, but I get a similar error (ImportError: DLL load failed: The specified procedure could not be found). Thank you.

! pip install seaborn

Requirement already satisfied: seaborn in c: \ users \ mitsu \ anaconda3 \ lib \ site-packages (0.9.0)
Requirement already satisfied: numpy>= 1.9.3 in c: \ users \ mitsu \ anaconda3 \ lib \ site-packages (from seaborn) (1.15.1)
Requirement already satisfied: matplotlib>= 1.4.3 in c: \ users \ mitsu \ anaconda3 \ lib \ site-packages (from seaborn) (2.2.3)
Requirement already satisfied: scipy>= 0.14.0 in c: \ users \ mitsu \ anaconda3 \ lib \ site-packages (from seaborn) (1.1.0)
Requirement already satisfied: pandas>= 0.15.2 in c: \ users \ mitsu \ anaconda3 \ lib \ site-packages (from seaborn) (0.23.4)
Requirement already satisfied: cycler>= 0.10 in c: \ users \ mitsu \ anaconda3 \ lib \ site-packages (from matplotlib>= 1.4.3->seaborn) (0.10.0)
Requirement already satisfied: pyparsing! = 2.0.4,! = 2.1.2,! = 2.1.6,>= 2.0.1 in c: \ users \ mitsu \ anaconda3 \ lib \ site-packages (from matplotlib>= 1.4 .3->seaborn) (2.2.0)
Requirement already satisfied: python-dateutil>= 2.1 in c: \ users \ mitsu \ anaconda3 \ lib \ site-packages (from matplotlib>= 1.4.3->seaborn) (2.7.3)
Requirement already satisfied: pytz in c: \ users \ mitsu \ anaconda3 \ lib \ site-packages (from matplotlib>= 1.4.3->seaborn) (2018.5)
Requirement already satisfied: six>= 1.10 in c: \ users \ mitsu \ anaconda3 \ lib \ site-packages (from matplotlib>= 1.4.3->seaborn) (1.11.0)
Requirement already satisfied: kiwisolver>= 1.0.1 in c: \ users \ mitsu \ anaconda3 \ lib \ site-packages (from matplotlib>= 1.4.3->seaborn) (1.0.1)
Requirement already satisfied: setuptools in c: \ users \ mitsu \ anaconda3 \ lib \ site-packages (from kiwisolver&gt;= 1.0.1-&gt;matplotlib&gt;= 1.4.3-&gt;seaborn) (40.2.0)</code ></pre>
<p><br />
import seaborn as sns</p>
<pre><code>-------------------------------------------- -------------------------------
ImportError Traceback (most recent call last)
&lt;ipython-input-17-a84c0541e888&gt;in&lt;module&gt;()
----&gt;1 import seaborn as sns
~ \ Anaconda3 \ lib \ site-packages \ seaborn \ __ init__.py in&lt;module&gt;()
      Four 
      5 # Import seaborn objects
----&gt;6 from .rcmod import *
      7 from .utils import *
      8 from .palettes import *
~ \ Anaconda3 \ lib \ site-packages \ seaborn \ rcmod.py in&lt;module&gt;()
      3 import functools
      4 import matplotlib as mpl
----&gt;5 from .import palettes, _orig_rc_params
      6
      7
~ \ Anaconda3 \ lib \ site-packages \ seaborn \ palettes.py in&lt;module&gt;()
     10 from .external.six.moves import range
     11
---&gt;12 from .utils import desaturate, set_hls_values, get_color_cycle
     13 from .colors import xkcd_rgb, crayons
     14 
~ \ Anaconda3 \ lib \ site-packages \ seaborn \ utils.py in&lt;module&gt;()
      9 import matplotlib as mpl
     10 import matplotlib.colors as mplcol
---&gt;11 import matplotlib.pyplot as plt
     12
     13 from .external.six.moves.urllib.request import urlopen, urlretrieve
~ \ Anaconda3 \ lib \ site-packages \ matplotlib \ pyplot.py in&lt;module&gt;()
     29 from cycler import cycler
     30 import matplotlib
---&gt;31 import matplotlib.colorbar
     32 from matplotlib import style
     33 from matplotlib import _pylab_helpers, interactive
~ \ Anaconda3 \ lib \ site-packages \ matplotlib \ colorbar.py in&lt;module&gt;()
     34 import matplotlib.collections as collections
     35 import matplotlib.colors as colors
---&gt;36 import matplotlib.contour as contour
     37 import matplotlib.cm as cm
     38 import matplotlib.gridspec as gridspec
~ \ Anaconda3 \ lib \ site-packages \ matplotlib \ contour.py in&lt;module&gt;()
     18 import matplotlib.colors as colors
     19 import matplotlib.collections as mcoll
---&gt;20 import matplotlib.font_manager as font_manager
     21 import matplotlib.text as text
     22 import matplotlib.cbook as cbook
~ \ Anaconda3 \ lib \ site-packages \ matplotlib \ font_manager.py in&lt;module&gt;()
     56 import logging
     57
---&gt;58 from matplotlib import afm, cbook, ft2font, rcParams, get_cachedir
     59 from matplotlib.compat import subprocess
     60 from matotlib.fontconfig_pattern import (
ImportError: DLL load failed: The specified procedure cannot be found.
  • Answer # 1

    I tried to solve for a few hours but it didn't work, so I decided to downgrade and use seaborn.