AnsweredAssumed Answered

Cannot import pandas - ArcGIS 10.1

Question asked by curtvprice Champion on Aug 12, 2014
Latest reply on Aug 14, 2014 by curtvprice

Trying to get pandas to import, but we are getting what looks like an error caused by a failed dependency of the version of my numpy's compile..

ArcGIS 10.1 SP 1.

 

>>> import pandas

numpy.dtype has the wrong size, try recompiling

Traceback (most recent call last):

  File "<interactive input>", line 1, in <module>

  File "C:\Python27\ArcGIS10.2\lib\site-packages\pandas\__init__.py", line 6, in <module>

    from . import hashtable, tslib, lib

  File "numpy.pxd", line 157, in init pandas.hashtable (pandas\hashtable.c:22315)

ValueError: numpy.dtype has the wrong size, try recompiling

I check my numpy version:

>>> import numpy

>>> numpy.version.full_version

'1.6.1'

 

It should work with numpy 1.6.1, according to the doc.

 

Can we safely upgrade numpy - or is a version of pandas out there that is known to work with the ArcGIS 10.1 python stack?

Outcomes