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

pypostal is not installing properly on M1 Mac with or w/o Rosetta for python 3.7 or 3.8 #88

Open
wiseyoungbuck opened this issue Jun 21, 2023 · 0 comments

Comments

@wiseyoungbuck
Copy link

wiseyoungbuck commented Jun 21, 2023

dlopen(/Users/runtiansong/opt/anaconda3/envs/py379/lib/python3.7/site-packages/postal/_parser.cpython-37m-darwin.so, 0x0002): symbol not found in flat namespace (_libpostal_address_parser_response_destroy)

gcc -v
Apple clang version 14.0.3 (clang-1403.0.22.14.1)
Target: x86_64-apple-darwin22.5.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin

I attempted to install libpostal and pypostal in a Python 3.7 and 3.8 environment. The above error always occurs and the above dynamic library does not exist.

The same installation process works just find when using Python 3.9 and Rosetta on my M2 Mac. I have also observed the same behavior on another M1 Mac.

See this same issue/ticket here: openvenues/libpostal#585

@wiseyoungbuck wiseyoungbuck changed the title pypostal will not run on M1 Mac with or w/o Rosetta for python 3.7 or 3.8 pypostal is not installing properly on M1 Mac with or w/o Rosetta for python 3.7 or 3.8 Jun 21, 2023
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

1 participant