selva221724 / pypostalwin

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

AddressParser initialisation error #10

Closed JananiPN19 closed 1 year ago

JananiPN19 commented 1 year ago

I'm facing the following issue while trying to initialise AddressParser.

>>> parser = pypostalwin.AddressParser()
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
TypeError: AddressParser.__init__() missing 2 required positional arguments: 'address_parser_path' and 'libpostal_path'

Can you please tell me where am I going wrong here?

I'm using the latest version. i.e. 0.0.4.

JananiPN19 commented 1 year ago

Sorry didn't follow the first step I guess. :(

selva221724 commented 1 year ago

i think there is an issue in the recent release ,can you please use this below ,

Please uninstall and reinstall the last version

pip uninstall pypostalwin
pip install pypostalwin==0.0.3
JananiPN19 commented 1 year ago

Hi,

Thanks for the comment.

However, while downloading and unpacking the libpostal.7z, it says "No files to process". Is there any updated file of libpostal that I can check? Your help will be appreciated :)