ushahidi / geograpy

Extract countries, regions and cities from a URL or text
219 stars 133 forks source link

geograpy-ntlk error #13

Closed benmaier closed 7 years ago

benmaier commented 7 years ago

This is an issue fork from #4 by @shun-liang. I have the same problem.

When trying to run geograpy-nltk, I get the following error:

Traceback (most recent call last): File "/Users/shun/.virtualenvs/hn_hiring_trend/bin/geograpy-nltk", line 5, in nltk.downloader('maxent_ne_chunker') TypeError: 'module' object is not callable

benmaier commented 7 years ago

Already fixed in open pull requests.

nickpolet commented 7 years ago

I still get this error when installing from pip. Is there an easy way to fix this?

w512 commented 7 years ago

@nickpolet it's helped me: https://github.com/ushahidi/geograpy/pull/1/files