Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Parser Hangs in Jupyter Notebook #6

Open
jgraham0331 opened this issue Oct 19, 2022 · 1 comment
Open

Parser Hangs in Jupyter Notebook #6

jgraham0331 opened this issue Oct 19, 2022 · 1 comment

Comments

@jgraham0331
Copy link

Great library so far and it works great from the terminal but when I try to parse an address (parsedAddress = parser.runParser("The White House 1600 Pennsylvania Avenue NW, Washington, DC 20500, USA") in Jupyter Notebooks or Jupyter Lab the cell never executes. It freezes as if its running but never completes. I have verified libpostal is running but for some reason can't get the code to complete in Jupyter.

I did try running it via function from an external .py file and I get the same result. Any insight?

@selva221724
Copy link
Owner

selva221724 commented Oct 19, 2022

Hi @jgraham0331 ,

Thanks for pointing that out. It looks like subprocess in Jupyter notebook is not letting capture the stdout from the libpostal.exe . I am working on that to solve it and will soon update that package. Cheers !!!

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants