selva221724 / pypostalwin

libpostal wrapper python package for windows
MIT License
14 stars 5 forks source link

FileNotFoundError “C:\Workbench\libpostal\src\address_parser.exe” #15

Open samouree opened 2 months ago

samouree commented 2 months ago

Hi there,

I am having trouble installing and utilising MSYS2 to download the boost library due to my work proxy, so instead I have performed a git clone of the libpostal library into my C:\Workbench folder.

However, when I try to run the initial steps to configure the model by passing the White House address, it gives me a FileNotFoundError in “C:\Workbench\libpostal\src\address_parser.exe”.

I had a look into the repo and there are two “address_parser” files, but one is “.c” and the other “.h” extension.

Have I downloaded the repo incorrectly? Is there a way to fix this without relying on MSYS2?

selva221724 commented 1 month ago

Hi there ,

You need to download the bundle from Google drive and copy that to c drive not your repo. Because the python binding will look for a path from c drive to execute the .exe file in the bundle.

Let me know if that works.

selva221724 commented 1 month ago

https://github.com/selva221724/pypostalwin/issues/3

Discussed here