Created
June 10, 2019 18:30
-
-
Save filipwodnicki/dfde5a0fde56f3467863fa8bec8d8783 to your computer and use it in GitHub Desktop.
install libpostal mac
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# install libpostal v1.1-alpha. Environment: MacOS 10.14 Python 3.6 | |
# libpostal library instructions didn't work for me, got error: | |
# ERR Error loading transliteration module, dir=(null) at libpostal_setup_datadir (libpostal.c:266) errno: No such file or directory | |
# Here is a workaround: | |
git clone https://github.com/openvenues/libpostal | |
cd libpostal | |
./bootstrap.sh | |
./configure --datadir=$(pwd)/my_data_dir --disable_data_download | |
./src/libpostal_data download all $(pwd)/my_data_dir | |
make -j4 | |
sudo make install | |
# references: | |
# https://github.com/openvenues/libpostal | |
# https://github.com/openvenues/libpostal/issues/365 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment