简体   繁体   English

Python:为什么在尝试导入地理面板时出现错误?

[英]Python: why do I get an error when I try to import geopands?

I am trying to impor geopandas but I get the following error 我正在尝试geopandas但出现以下错误

import geopandas as gpd

---------------------------------------------------------------------------
ImportError                               Traceback (most recent call last)
<ipython-input-20-05b2e8edd391> in <module>()
     21 import seaborn as sns
     22 #from osgeo import gdal
---> 23 import geopandas as gpd
     24 #import fiona
     25 from scipy.stats import skew

/anaconda3/lib/python3.6/site-packages/geopandas/__init__.py in <module>()
      1 from geopandas.geoseries import GeoSeries
      2 from geopandas.geodataframe import GeoDataFrame
----> 3 from geopandas.geodataframe import points_from_xy
      4 
      5 from geopandas.io.file import read_file

ImportError: cannot import name 'points_from_xy'

That function is rather new and only available in the Github repository right now. 该功能是相当新的功能, 目前仅在Github存储库中可用。 The recent release 0.4.1 does not include it . 最新版本0.4.1 不包含它

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Python:为什么我在导入 geopandas 时会出错? - Python: why do I get an error when I import geopandas? 为什么我尝试导入 oct2py 时出现以下错误? - Why do I get the following error when I try to import oct2py? 当我尝试从标准输入读取多个中间有空格的字符串时,为什么在 Python 中出现错误? - Why do I get an error in Python when I try to read several strings with spaces in between from stdin? Mac:当我尝试在 Python 中调用 osgeo 时,为什么会出现错误? - Mac: why do I get error when I try to call osgeo in Python? 为什么我在尝试使用 python 的 ldap 简单请求时会出现错误 - Why do I get an error when I try a ldap simple request with python Python:当我尝试在日期之间插入 xarray 时,为什么会出现错误? - Python: why do I get an error when I try to interpolate an xarray between dates? 为什么我会收到此错误“ImportError: dlopen(...): Symbol not found”? 当我在 python 上导入我的库时 - Why do I get this error “ImportError: dlopen(…): Symbol not found”? when I import my library on python 为什么我在尝试运行代码时不断收到导入错误消息? - Why do I keep getting a error message for import when I try to run my code? 在Jenkins上执行python脚本时,尝试访问串行设备时,为什么会出现“权限被拒绝”错误? - Why do I get a 'permission denied' error when I try to access a serial device when executing python script on Jenkins? 当我尝试将mwclient模块用于Python时,为什么会出现错误“无法导入名称扫描仪”? - Why am I getting the error “cannot import name Scanner” when I try to use the mwclient module for Python?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM