找不到熊猫模块,Windows 服务器 2012



All,

我正在运行安装了Anaconda 2.3.0 64b(2.7(的Windows 2012服务器,并且正在尝试也提供Python 3.6。我已经安装了 3.6,但无法让它加载熊猫。我看到了另一个线程,似乎将问题与 conda 联系起来。

我再次删除并安装了熊猫并重置了我的路径以不查看 Anaconda 目录,但我仍然收到错误。

任何建议将不胜感激。

PS C:UsersyearickpAppDataLocalProgramsPythonPython36> .python -m pip list
Package         Version
--------------- -------
numpy           1.14.3
pandas          0.23.0
pip             10.0.1
pyodbc          4.0.23
python-dateutil 2.7.3
pytz            2018.4
setuptools      39.1.0
six             1.11.0
SQLAlchemy      1.2.7
PS C:UsersyearickpAppDataLocalProgramsPythonPython36> .python
Python 3.6.5 (v3.6.5:f59c0932b4, Mar 28 2018, 17:00:18) [MSC v.1900 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import pandas as pd
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "C:UsersyearickpAppDataLocalProgramsPythonPython36libsite-packagespandas__init__.py", line 42, in <mod
ule>
from pandas.core.api import *
File "C:UsersyearickpAppDataLocalProgramsPythonPython36libsite-packagespandascoreapi.py", line 10, in <mod
ule>
from pandas.core.groupby.groupby import Grouper
File "C:UsersyearickpAppDataLocalProgramsPythonPython36libsite-packagespandascoregroupby__init__.py", lin
e 2, in <module>
from pandas.core.groupby.groupby import (
File "C:UsersyearickpAppDataLocalProgramsPythonPython36libsite-packagespandascoregroupbygroupby.py", line
49, in <module>
from pandas.core.frame import DataFrame
File "C:UsersyearickpAppDataLocalProgramsPythonPython36libsite-packagespandascoreframe.py", line 74, in <m
odule>
from pandas.core.series import Series
File "C:UsersyearickpAppDataLocalProgramsPythonPython36libsite-packagespandascoreseries.py", line 3978, in
<module>
Series._add_series_or_dataframe_operations()
File "C:UsersyearickpAppDataLocalProgramsPythonPython36libsite-packagespandascoregeneric.py", line 8891, i
n _add_series_or_dataframe_operations
from pandas.core import window as rwindow
File "C:UsersyearickpAppDataLocalProgramsPythonPython36libsite-packagespandascorewindow.py", line 36, in <
module>
import pandas._libs.window as _window
ImportError: DLL load failed: The specified module could not be found.
>>>

这似乎是 v0.23 的问题。卸载 pandaspip uninstall pandas并安装 v0.22 而不是pip install pandas==0.22(除了你真的必须使用 v0.23(。

最新更新