已成功安装georasters但无法导入

时间:2016-09-14 07:37:28

标签: django python-2.7 numpy geospatial gdal

我使用“pip install georasters”安装了georasters。但是我无法在python中导入它。以下错误来了:

Traceback (most recent call last):
  File "<pyshell#0>", line 1, in <module>
    import georasters
  File "D:\Python\lib\site-packages\georasters\__init__.py", line 3, in <module>
    from .georasters import get_geo_info, map_pixel, map_pixel_inv, aggregate, create_geotiff, align_rasters, \
  File "D:\Python\lib\site-packages\georasters\georasters.py", line 37, in <module>
    import pandas as pd
  File "D:\Python\lib\site-packages\pandas\__init__.py", line 25, in <module>
    from pandas import hashtable, tslib, lib
  File "pandas\src\numpy.pxd", line 157, in init pandas.hashtable (pandas\hashtable.c:38509)
ValueError: numpy.dtype has the wrong size, try recompiling

请澄清。

0 个答案:

没有答案