indic-transliteration / indic_transliteration_py

Python package for indic script transliteration
MIT License
163 stars 33 forks source link

TypeError: descriptor 'split' requires a 'unicode' object but received a 'str' #36

Closed pmshukla closed 4 years ago

pmshukla commented 4 years ago

from indic_transliteration import xsanscript Traceback (most recent call last): File "", line 1, in File "/home/pranav/.local/lib/python2.7/site-packages/indic_transliteration/xsanscript.py", line 122, in _setup() File "/home/pranav/.local/lib/python2.7/site-packages/indic_transliteration/xsanscript.py", line 74, in _setup 'vowels': sanscript.SCHEMES[DEVANAGARI]['vowels'] + s("""ऎ ऒ"""), TypeError: descriptor 'split' requires a 'unicode' object but received a 'str'

I am getting this error when importing xsanscript. Kindly help me with the issue

pmshukla commented 4 years ago

had got an error with python2.X and python 3.X