当我尝试将我的导入pandas作为pd'我的WinPython 3.4 64位线。
当我在WinPython 3.4 32位
中执行相同操作时,此错误不存在导入WinPython 3.4 64bit时的错误如下所示:
> In [2]: > runfile('Z:/python/CrystallBall/SpyderProject/structuring_tweets.py', > wdir='Z:/python/CrystallBall/SpyderProject') DLL load failed: %1 is > not a valid Win32 application. Traceback (most recent call last): > > File "<ipython-input-2-f4d4b6486e47>", line 1, in <module> > runfile('Z:/python/CrystallBall/SpyderProject/structuring_tweets.py', > wdir='Z:/python/CrystallBall/SpyderProject') > > File "C:\Program Files > (x86)\WinPython-64bit-3.4.3.2\python-3.4.3.amd64\lib\site-packages\spyderlib\widgets\externalshell\sitecustomize.py", > line 682, in runfile > execfile(filename, namespace) > > File "C:\Program Files > (x86)\WinPython-64bit-3.4.3.2\python-3.4.3.amd64\lib\site-packages\spyderlib\widgets\externalshell\sitecustomize.py", > line 85, in execfile > exec(compile(open(filename, 'rb').read(), filename, 'exec'), namespace) > > File "Z:/python/CrystallBall/SpyderProject/structuring_tweets.py", > line 10, in <module> > import pandas as pd > > File > "C:\Users\Morten\AppData\Roaming\Python\Python34\site-packages\pandas\__init__.py", > line 7, in <module> > from . import hashtable, tslib, lib > > ImportError: DLL load failed: %1 is not a valid Win32 application.
任何人都可以帮我解决这个问题吗?一定有其他人试图在Winpython 3.4(64)中运行pandas并且已经看到了这个错误。
答案 0 :(得分:0)
很奇怪 - 但似乎Spyder在WinPython 3.4(64位)中崩溃的问题在WinPython 3.3.5.7(64位)中不存在。所以现在我从这个安装中运行SPyder IDE。
我认为有人应该仔细研究我上面描述的问题。
谢谢你们