Closed riordan closed 9 years ago
The move to autoconf may be breaking simple pip installs. Removed that from the Readme.
At the moment the Python lib (pypostal) only does tokenization and basic string normalization, as this was necessary to create some of the training data, so it may not be entirely useful to you until the bindings to the main API and the address parser are added.
The best way to install pypostal is:
git clone https://github.com/openvenues/libpostal
cd libpostal
./bootstrap.sh
./configure --datadir=[some dir with 500MB of space]
python setup.py install
Tested on Ubuntu 14.04.
For the release, I'll try to cook up something simpler so people can include libpostal in a requirements.txt. It should be possible to configure the data directory in a pip install using something like "--install-options".
When I was trying to figure out the Python bindings, Google found this issue and I tried the process documented above. This is no longer the correct process. The Python bindings are now in their own GitHub repository and are now installed using sudo pip install
See the documentation here:https://github.com/openvenues/pypostal/blob/master/README.md
I keep running into errors while attempting to install the Python bindings (Ubuntu 14.04 + OS X Snow Leopard).
pip install
ing (locally or from github) leads to:I'm foggy enough as is on C build processes, so debugging C meets bindings is hairy territory for me.
Additionally, readme.md needs to be updated so that
pip install https
ispip install git+https
to facilitate installing from GitHub (was going to open a PR, but figured the other install issues took precedence). Figure that makes more sense once the general install issue's worked out.