Minha instalação do Geopandas no Jupyter está incompleta. Ao rodar o comando: rj = gpd.read_file('../01.Dados/Mapas/RJ/33MUE250GC_SIR.shp')
, retorna:
ImportError Traceback (most recent call last)
~\AppData\Local\Temp/ipykernel_2752/385542187.py in
----> 1 rj = gpd.read_file('../01.Dados/Mapas/RJ/33MUE250GC_SIR.shp')
~\anaconda3\lib\site-packages\geopandas\io\file.py in readfile(filename, bbox, mask, rows, **kwargs)
125 by using the encoding keyword parameter, e.g. encoding='utf-8'
.
126 """
--> 127 checkfiona("'read_file' function")
128 if isurl(filename):
129 req = _urlopen(filename)
~\anaconda3\lib\site-packages\geopandas\io\file.py in checkfiona(func) 40 def checkfiona(func): 41 if fiona is None: ---> 42 raise ImportError( 43 f"the {func} requires the 'fiona' package, but it is not installed or does " 44 f"not import correctly.\nImporting fiona resulted in: {fiona_import_error}"
ImportError: the 'read_file' function requires the 'fiona' package, but it is not installed or does not import correctly. Importing fiona resulted in: No module named 'fiona
No COLAB, funciona sem problemas