davidmogar / cucco

Text normalization library for Python
MIT License
203 stars 27 forks source link

ImportError: No module named regex #26

Closed daviddoji closed 7 years ago

daviddoji commented 7 years ago

I installed the library via pip but when I try to use it within a script I'm getting the following error:

ImportError: No module named regex

Following the traceback, apparently the error occurs when importing normalizr.regex as regex

davidmogar commented 7 years ago

Hi daviddoji,

What version of Python are you using?

daviddoji commented 7 years ago

Python 2.7 with Canopy IDE

davidmogar commented 7 years ago

Yeah, seems like something to fix. In the mean time you have two options:

Hope this can help you ;)

davidmogar commented 7 years ago

Just to shed some light, the behavior is the expected for the pip package. Initially, normalizr only supported Python 3. This has changed nowadays as you can see in the README.md file. The problem here is that the package hasn't been updated in Pypi. Will fix as said in #27.