J*****n 发帖数: 4859 | 1 弄了一个pandas
结果
DLL load failed: %1 is not a valid Win32 application.
Traceback (most recent call last):
File "", line 1, in
import pandas
File "C:\Python32\lib\site-packages\pandas\__init__.py", line 6, in <
module>
from . import hashtable, tslib, lib
ImportError: DLL load failed: %1 is not a valid Win32 application.
啥问题,如何解决?
WIN 7, 64, 3.2
谢谢 | p*****2 发帖数: 21240 | | r*g 发帖数: 3159 | 3 去这里找来重装:
http://www.lfd.uci.edu/~gohlke/pythonlibs/#pandas
【在 J*****n 的大作中提到】 : 弄了一个pandas : 结果 : DLL load failed: %1 is not a valid Win32 application. : Traceback (most recent call last): : File "", line 1, in : import pandas : File "C:\Python32\lib\site-packages\pandas\__init__.py", line 6, in < : module> : from . import hashtable, tslib, lib : ImportError: DLL load failed: %1 is not a valid Win32 application.
| B******5 发帖数: 4676 | | d***q 发帖数: 1119 | 5
I suggest using python 2.x instead of 3.x.
from your log: it looks like you missed some dlls.
【在 J*****n 的大作中提到】 : 弄了一个pandas : 结果 : DLL load failed: %1 is not a valid Win32 application. : Traceback (most recent call last): : File "", line 1, in : import pandas : File "C:\Python32\lib\site-packages\pandas\__init__.py", line 6, in < : module> : from . import hashtable, tslib, lib : ImportError: DLL load failed: %1 is not a valid Win32 application.
| i**h 发帖数: 424 | 6 Not an expert in python but xxx.dll is not a valid Win32 application usually
means a failed LoadLibrary call which often is a result of missing
dependent DLLs. | l********a 发帖数: 1154 | 7 1.不要mix使用32位和64位的python和第三方dll,python就用32位,因为大多dll都是针
对32位编译的.
2.将dll的路径加入path环境变量 | s*********e 发帖数: 1051 | 8 exactly
【在 B******5 的大作中提到】 : 换Linux吧
|
|