new computer with new ArcGIS 10.1 install

I have a new machine with a fresh install of Arc10.1. When ArcGIS installs it also installs python 2.7 with numpy. My script can import scipy (import scipy), but when I try

from scipy import stats

I get:

Traceback (most recent call last):
File "C:ArcProjectsBasinLoop3_All6.py", line 13, in <module>
from scipy import stats
File "C:Python27ArcGISx6410.1libsite-packagesscipystats__init__.py", line 324, in <module>
from .stats import *
File "C:Python27ArcGISx6410.1libsite-packagesscipystatsstats.py", line 242, in <module>
import scipy.special as special
File "C:Python27ArcGISx6410.1libsite-packagesscipyspecial__init__.py", line 531, in <module>
from ._ufuncs import *
ImportError: DLL load failed: The specified module could not be found.

I have tried several scipy installs and I get the same result with each:

scipy-0.13.0-win32-superpack-python2.7.exe

scipy-0.13.0.win-amd64-py2.7.exe

scipy-0.11.0-win32-superpack-python2.7.exe

I figure it has to do do with some incompatibility with the different numpy, scipy versions and the version of python that came with Arc10.1 (py2.7). Also you can see from my error that my script (ran in IDLE) that it is trying to run this with 64bit python. Can someone help me sort out what's going on here? I do not want to install a new version of python or numpy because I don't want to mess with the default ArcGIS installation. I'd also like for python to continue operating in 64bit if possible.

Thanks...


Have a look at this:

Scipy install steps for ArcGIS v10.1

This user had success with scipy v0.11 only. You tried v0.11, but it was 32-bit, and you're using 64-bit Python. Try scipy v0.11 64-bit and see what happens.


使用Dependency Walker打开C:Python27ArcGISx6410.1libsite-packagesscipyspecial_ufuncs.pyd并查看哪些DLL丢失。

链接地址: http://www.djcxy.com/p/87174.html

上一篇: 无法通过pip安装Scipy

下一篇: 装有新ArcGIS 10.1的新计算机