Pandas 0.23.0 gives ImportError: DLL load failed · Issue #21106 · pandas-dev/pandas (original) (raw)

Installed pandas not able to import with:

ImportError: DLL load failed: The specified module could not be found.

As far as we know, this happens if you install with pip on Windows 32bit machines (if you have another case, please comment below with specifying your OS, Python version, how you installed pandas, ..).

Workaround for now is to keep your version at pandas 0.22.0. (or to install using conda, or to install VS tools for C++, see #21106 (comment))

We will fix this problem for 0.23.1.


original post:

Code Sample, a copy-pastable example if possible

import pandas Traceback (most recent call last): File "", line 1, in File "C:\Users\lfletcher\AppData\Local\Programs\Python\Python36-32\lib\site-pa ckages\pandas_init.py", line 42, in from pandas.core.api import * File "C:\Users\lfletcher\AppData\Local\Programs\Python\Python36-32\lib\site-pa ckages\pandas\core\api.py", line 10, in from pandas.core.groupby.groupby import Grouper File "C:\Users\lfletcher\AppData\Local\Programs\Python\Python36-32\lib\site-pa ckages\pandas\core\groupby_init.py", line 2, in from pandas.core.groupby.groupby import ( File "C:\Users\lfletcher\AppData\Local\Programs\Python\Python36-32\lib\site-pa ckages\pandas\core\groupby\groupby.py", line 49, in from pandas.core.frame import DataFrame File "C:\Users\lfletcher\AppData\Local\Programs\Python\Python36-32\lib\site-pa ckages\pandas\core\frame.py", line 74, in from pandas.core.series import Series File "C:\Users\lfletcher\AppData\Local\Programs\Python\Python36-32\lib\site-pa ckages\pandas\core\series.py", line 3978, in Series._add_series_or_dataframe_operations() File "C:\Users\lfletcher\AppData\Local\Programs\Python\Python36-32\lib\site-pa ckages\pandas\core\generic.py", line 8891, in _add_series_or_dataframe_operation s from pandas.core import window as rwindow File "C:\Users\lfletcher\AppData\Local\Programs\Python\Python36-32\lib\site-pa ckages\pandas\core\window.py", line 36, in import pandas._libs.window as _window ImportError: DLL load failed: The specified module could not be found.