Quantcast
Channel: Forums - Python
Viewing all articles
Browse latest Browse all 2485

ArcGIS 10.1, Python crash on "import arcpy" after installing scipy-stack.

$
0
0
I'm having a frustrating time trying to use scipy with arcpy in my arcgis project.

I'm able to successfully install the scipy-stack (Scipy-stack-13.8.17.win32-py2.7) binary from here, but once It's installed, python crashes ("python.exe has stopped working") as soon as I run import arcpy.

However, if I import scipy prior to importing arcpy, arcpy is imported successfully. In other words, this works:
Code:

import scipy
import arcpy

but this doesn't:
Code:

#import scipy
import arcpy #"python.exe has stopped working" here

It looks to me like the actual crash occurs on line 269 of "ArcGIS\Desktop10.1\arcpy\arcpy\geoprocessing\_base.py," when something called "Data Reviewer Tools.tbx" is being imported (from "ArcGIS\ArcGISDataReviewer\Desktop10.1\ArcToolbox\Toolboxes\Data Reviewer Tools.tbx").

Does anyone know why this is happening?

TIA,

Tom.

Viewing all articles
Browse latest Browse all 2485