0

我在导入 Geopandas 时收到以下错误!有人可以让我知道问题是什么吗?

File "<stdin>", line 1, in <module>
  
File "/Users/nischalkashyap/Downloads/Fall 2020/Research Assistant 
GIS/database/geopandas/geopandas/__init__.py", line 7, in <module>
  
from geopandas.io.file import _read_file as read_file  # noqa
 
File "/Users/nischalkashyap/Downloads/Fall 2020/Research Assistant 
GIS/database/geopandas/geopandas/io/file.py", line 7, in <module>
  
  import fiona
  File "/Users/nischalkashyap/Downloads/virtual_env_python/sr/lib/python3.9/site-packages/Fiona-2.0.dev0-py3.9-macosx-10.9-x86_64.egg/fiona/__init__.py", line 85, in <module>
    from fiona.collection import BytesCollection, Collection
  File "/Users/nischalkashyap/Downloads/virtual_env_python/sr/lib/python3.9/site-packages/Fiona-2.0.dev0-py3.9-macosx-10.9-x86_64.egg/fiona/collection.py", line 9, in <module>
    from fiona.ogrext import Iterator, ItemsIterator, KeysIterator
  File "fiona/ogrext.pyx", line 1, in init fiona.ogrext
ImportError:
dlopen(/Users/nischalkashyap/Downloads/virtual_env_python/sr/lib/python3.9/site-packages/Fiona-2.0.dev0-py3.9-macosx-10.9-x86_64.egg/fiona/_shim.cpython-39-darwin.so, 2): 
Symbol not found: _OSRFixup
  
Referenced from: /Users/nischalkashyap/Downloads/virtual_env_python/sr/lib/python3.9/site-packages/Fiona-2.0.dev0-py3.9-macosx-10.9-x86_64.egg/fiona/_shim.cpython-39-darwin.so
  Expected in: flat namespace
 in /Users/nischalkashyap/Downloads/virtual_env_python/sr/lib/python3.9/site-packages/Fiona-2.0.dev0-py3.9-macosx-10.9-x86_64.egg/fiona/_shim.cpython-39-darwin.so
4

0 回答 0