Open Onkar-2803 opened 1 year ago
I'm getting same error. @Onkar-2803 Did you get any solution for this?
Hey, this seems like an error due to the python version. You'll need to downgrade your python.
After downgrading the python version to 3.7.16, the installation commands,
!pip install inltk !pip install torch==1.3.1+cpu -f https://download.pytorch.org/whl/torch_stable.html
throws following error ->
Traceback (most recent call last):
File "/usr/local/bin/pip3", line 5, in
Can you try to downgrade to python==3.6.9 and check if it works? This worked for me.
i am on python 3.9. and have same issue. anyone has solutions for this
Try Python version 3.6.9
Have executed the collab notebook provided by you, I'm still getting the same error.
It seems version 1.3.1 of torch has been removed
To generate the error: !pip install inltk !pip install torch==1.4.0+cpu -f https://download.pytorch.org/whl/torch_stable.html from inltk.inltk import setup setup('hi') from inltk.inltk import get_embedding_vectors vectors = get_embedding_vectors('भारत', 'hi') vectors[0].shape