Skip to content

ImportError: libexpat.so.1 with fiona>=1.10 #1481

Answered by sgillies
soxofaan asked this question in Q&A
Discussion options

You must be logged in to vote

@soxofaan expat was removed from the slim image recently. There's some discussion at docker-library/python#989 about whether the slim image is compatible with the manylinux specs.

Fiona 1.9.6 wheels included libexpat, yes. Fiona 1.10 wheels do not include libexpat because that library is part of the manylinux2014 profile and tooling was changed so that expat is no longer vendored: pypa/manylinux#1190.

Installing libexpat in your image will solve the problem.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@soxofaan
Comment options

Answer selected by soxofaan
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #1480 on January 09, 2025 16:16.