我正在尝试在jupyter笔记本上运行此代码以与geopandas一起进行地理空间分析:
%matplotlib inline
import numpy as np, matplotlib.pyplot as plt, pandas as pd, geopandas as gpd
from mpl_toolkits.basemap import Basemap
from shapely.geometry import Point
from geopy.distance import great_circle
这是我在运行代码后收到的错误消息:
ImportError Traceback (most recent call last)
<ipython-input-2-987457051b80> in <module>
1 # import necessary modules
----> 2 import numpy as np, matplotlib.pyplot as plt, pandas as pd, geopandas as gpd
3 from mpl_toolkits.basemap import Basemap
4 from shapely.geometry import Point
5 from geopy.distance import great_circle
C:\Anaconda\lib\site-packages\geopandas\__init__.py in <module>
2 from geopandas.geodataframe import GeoDataFrame
3
----> 4 from geopandas.io.file import read_file
5 from geopandas.io.sql import read_postgis
6 from geopandas.tools import sjoin
C:\Anaconda\lib\site-packages\geopandas\io\file.py in <module>
1 import os
2
----> 3 import fiona
4 import numpy as np
5 import six
C:\Anaconda\lib\site-packages\fiona\__init__.py in <module>
81 os.environ["PATH"] = os.environ["PATH"] + ";" + libdir
82
---> 83 from fiona.collection import BytesCollection, Collection
84 from fiona.drvsupport import supported_drivers
85 from fiona.env import ensure_env_with_credentials, Env
C:\Anaconda\lib\site-packages\fiona\collection.py in <module>
7
8 from fiona import compat, vfs
----> 9 from fiona.ogrext import Iterator, ItemsIterator, KeysIterator
10 from fiona.ogrext import Session, WritingSession
11 from fiona.ogrext import buffer_to_virtual_file, remove_virtual_file, GEOMETRY_TYPES
ImportError: DLL load failed: El sistema operativo no puede ejecutar %1.
您能提供任何帮助吗?