avian2 / unidecode

ASCII transliterations of Unicode text - GitHub mirror
https://pypi.python.org/pypi/Unidecode
GNU General Public License v2.0
516 stars 62 forks source link

cannot import name 'unidecode' #63

Closed aHardReset closed 3 years ago

aHardReset commented 3 years ago

pip install unidecode

in a new py file

from unidecode import unidecode unidecode('ko\u017eu\u0161\u010dek')

ImportError: cannot import name 'unidecode' from partially initialized module 'unidecode' (most likely due to a circular import)

aHardReset commented 3 years ago

Gotcha, unidecode is not compatible with >=3.7. I'm using 3.9.1