Attribute Error in Fiona when calling Pandas
See original GitHub issueBefore I installed geopandas, I used
conda install fiona shapely pyproj rtree
(I already have pandas on my machine) to satisfy all dependencies. Afterwards tried
conda install --channel conda-forge geopandas
as well as
conda install geopandas
But even with conda update -all
I get
AttributeError: type object 'fiona.ogrext.FeatureBuilder' has no attribute '__reduce_cython__'
when I call geopandas in python. Did I mess up something, or does someone has this issue as well? Thanks
Issue Analytics
- State:
- Created 4 years ago
- Comments:6 (4 by maintainers)
Top Results From Across the Web
AttributeError: module 'fiona' has no attribute '_loading'
First, install python=3.7 then download the related library with the same version of python from here.
Read more >Fiona error adding property to shapefile - GIS Stack Exchange
I'm getting the following error when trying to add a property to a .shp file using fiona in python: Traceback (most recent call...
Read more >Installing but OSMnx in new Environment: Fiona Error
After activating the environment and importing the OSMnx module, it gives me the error of fiona AttributeError Traceback (most recent call last) ...
Read more >1 The Fiona User Manual — Fiona 2.0dev documentation
The first example of using Fiona is this: copying records from one file to another, adding two attributes and making sure that all...
Read more >AttributeError in Python - Javatpoint
This error occurs in the program when there is a conditioning failure in the attribute assignment. For example, if we assign an integer...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
So you have a mixture of packages from the default channel and from conda-forge, which is not recommended (there can be binary incompatibilities between the packages), see the note here https://geopandas.readthedocs.io/en/latest/install.html#using-the-conda-forge-channel (although I have to say I find it a strange error message if that is the problem)
Since you have most of the default channel, can you try to force install fiona (and gdal, libgdal) again? (to have them from the default channel, so without
-c conda-forge
)?And also, can you show the result of
conda list
?There is something wrong with the
fiona
package (which is being used by GeoPandas to read files)