Skip to content

Conversation

@btimby
Copy link
Contributor

@btimby btimby commented Sep 10, 2021

Hello. I spent a few minutes tracking down why the extension was not being built for me. Turned out pip will silently fail to build the extension if maxminddb.h is missing. When installing libmaxminddb from a package, the header is included in a separate package. This is obvious, but the documentation seems to assume library installation via sources.

FWIW, I ran pip in verbose mode to get the build output / warning: pip install -v maxminddb.

I just added a note to the README.rst that may save someone some minutes in the future.

Copy link
Member

@oschwald oschwald left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@oschwald oschwald merged commit b00eac5 into maxmind:main Sep 10, 2021
@btimby btimby deleted the package-note branch September 10, 2021 19:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants