Skip to content
New issue

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

Installing pypostal on OSX M1, Python 3.10 error #87

Open
debedb opened this issue Feb 15, 2023 · 1 comment
Open

Installing pypostal on OSX M1, Python 3.10 error #87

debedb opened this issue Feb 15, 2023 · 1 comment

Comments

@debedb
Copy link

debedb commented Feb 15, 2023

Hi,

I have installed libpostal, and am trying to install pypostal. Am getting the following error, building from master:

postal/pyneardupe.c:139:14: error: implicit declaration of function 'libpostal_near_dupe_name_hashes' is invalid in C99 [-Werror,-Wimplicit-function-declaration]

Which I suppose is introduced in 593fd5a for when doing

git checkout 593fd5a9dd80a6e710e9a925698e9e87b51debd9^

I can build.

@andrediasesp
Copy link

I have a similar problem when building it inside a container using the 3.10-slim image.

ImportError: /usr/src/.venv/lib/python3.10/site-packages/postal/_near_dupe.cpython-310-x86_64-linux-gnu.so: undefined symbol: libpostal_near_dupe_name_hashes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants