我被迫升级到 Python 2.6,并且在 Windows 中使用带有 Python 2.6 的Numerical Python ( NumPy ) 时遇到问题。我收到以下错误...
Traceback (most recent call last):
File "<pyshell#0>", line 1, in <module>
from numpy.core.numeric import array,dot,all
File "C:\svn\svn_urbansim\UrbanSimDev\Builds\working\urbansim\Tools\Python26\lib\site-packages\numpy\__init__.py", line 39, in <module>
import core
File "C:\svn\svn_urbansim\UrbanSimDev\Builds\working\urbansim\Tools\Python26\lib\site-packages\numpy\core\__init__.py", line 5, in <module>
import multiarray
ImportError: Module use of python25.dll conflicts with this version of Python.
现有模块似乎正在尝试使用该python25.dll
文件。有什么办法可以告诉它在python26.dll
不修改源代码的情况下使用该文件?