Select to view content in your preferred language

Cannot import pandas - ArcGIS 10.1

6493
10
Jump to solution
08-12-2014 10:28 AM
curtvprice
MVP Esteemed Contributor

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?

0 Kudos
10 Replies
curtvprice
MVP Esteemed Contributor

Definitely your fault Roland!