We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I expected it just to import
import fiona
Error:
--------------------------------------------------------------------------- AttributeError Traceback (most recent call last) /var/folders/6y/ggc338n574d3_xyw2zbnkc6m0000gp/T/ipykernel_1610/1102285635.py in <module> ----> 1 import fiona /opt/homebrew/lib/python3.9/site-packages/fiona/__init__.py in <module> 83 84 import fiona._loading ---> 85 with fiona._loading.add_gdal_dll_directories(): 86 from fiona.collection import BytesCollection, Collection 87 from fiona.drvsupport import supported_drivers AttributeError: partially initialized module 'fiona' has no attribute '_loading' (most likely due to a circular import)
Mac OS X 11.5.1
Fiona via pip version 1.8.20 GDAL 3.3.1 installed via Homebrew
The text was updated successfully, but these errors were encountered:
Found the solution
#944 (comment)
Sorry, something went wrong.
I am getting the same error with the following import
import glob import os import datetime import numpy as np import matplotlib.pyplot as plt import pyart import xarray as xr from matplotlib.dates import DateFormatter import pandas as pd import geopandas as gpd import act import fiona
AttributeError Traceback (most recent call last) Input In [11], in <cell line: 13>() 11 import geopandas as gpd 12 import act ---> 13 import fiona File ~/opt/anaconda3/envs/pyart/lib/python3.9/site-packages/fiona/init.py:85, in 82 os.environ["PATH"] = os.environ["PATH"] + ";" + libdir 84 import fiona._loading ---> 85 with fiona._loading.add_gdal_dll_directories(): 86 from fiona.collection import BytesCollection, Collection 87 from fiona.drvsupport import supported_drivers AttributeError: partially initialized module 'fiona' has no attribute '_loading' (most likely due to a circular import)
AttributeError Traceback (most recent call last) Input In [11], in <cell line: 13>() 11 import geopandas as gpd 12 import act ---> 13 import fiona
File ~/opt/anaconda3/envs/pyart/lib/python3.9/site-packages/fiona/init.py:85, in 82 os.environ["PATH"] = os.environ["PATH"] + ";" + libdir 84 import fiona._loading ---> 85 with fiona._loading.add_gdal_dll_directories(): 86 from fiona.collection import BytesCollection, Collection 87 from fiona.drvsupport import supported_drivers
AttributeError: partially initialized module 'fiona' has no attribute '_loading' (most likely due to a circular import)
Please, also check $conda list output Hope this helps.
No branches or pull requests
Expected behavior and actual behavior.
I expected it just to import
Steps to reproduce the problem.
Error:
Operating system
Mac OS X 11.5.1
Fiona and GDAL version and provenance
Fiona via pip version 1.8.20
GDAL 3.3.1 installed via Homebrew
The text was updated successfully, but these errors were encountered: