我被迫升級到Python 2.6和我有使用Python的數值(NumPy)與Python 2.6 Windows中的問題。我收到以下錯誤......我如何使用Python的數值與Python 2.6
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
文件而不修改源代碼?