goru001 / inltk

Natural Language Toolkit for Indic Languages aims to provide out of the box support for various NLP tasks that an application developer might need
https://inltk.readthedocs.io
MIT License
818 stars 164 forks source link

Import Error while importing tokenize function from inltk.inltk #94

Closed one2clouds closed 1 year ago

one2clouds commented 1 year ago

This is my code: from inltk.inltk import tokenize

This is the error:

ImportError Traceback (most recent call last)
Cell In[22], line 1
----> 1 from inltk.inltk import tokenize

ImportError: cannot import name 'Iterable' from 'collections' (/opt/conda/lib/python3.10/collections/__init__.py)
goru001 commented 1 year ago

This looks like an issue with incorrect Python version. You'll need to change it Python 3.6 or 3.7