Skip to content

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

@wiseyoungbuck

Description

@wiseyoungbuck

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions