我在Windows 7上安装了pyRserve包的easy_install,但当我运行import pyRserve
时,我收到了以下导入错误。
我使用的是Python 2.7.5。
有什么建议吗?
Traceback (most recent call last):
File "<module1>", line 2, in <module>
File "C:Python27libsite-packagespyrserve-0.7.3-py2.7.eggpyRserve__init__.py", line 9, in <module>
from .rconn import connect
File "C:Python27libsite-packagespyrserve-0.7.3-py2.7.eggpyRserverconn.py", line 7, in <module>
from . import rtypes
File "C:Python27libsite-packagespyrserve-0.7.3-py2.7.eggpyRservertypes.py", line 4, in <module>
import numpy
File "C:Python27libsite-packagesnumpy__init__.py", line 137, in <module>
import add_newdocs
File "C:Python27libsite-packagesnumpyadd_newdocs.py", line 9, in <module>
from numpy.lib import add_newdoc
File "C:Python27libsite-packagesnumpylib__init__.py", line 4, in <module>
from type_check import *
File "C:Python27libsite-packagesnumpylibtype_check.py", line 8, in <module>
import numpy.core.numeric as _nx
File "C:Python27libsite-packagesnumpycore__init__.py", line 5, in <module>
import multiarray
ImportError: DLL load failed: %1 is not a valid Win32 application.
我使用的是64位Python,当我切换到32位时,它运行良好。
我猜这个包只配置为使用32位。。。