user8849019
user8849019

Reputation: 21

Cannot find python library

I'm trying to run indic nlp library and there's an import statement

from indicnlp.tokenize import indic_tokenize 

but nowhere is it mentioned how to install indicnlp or maybe I don't understand. Can anyone help me with it?

Upvotes: 1

Views: 1992

Answers (5)

Nitin Panwar
Nitin Panwar

Reputation: 131

Below installation worked for me.

pip install indic-nlp-library

Upvotes: 1

Raviraj Gardi
Raviraj Gardi

Reputation: 298

#for windows

-First search inside the window search box if there is a package called indicnlp

-if the folder contains tokenize.py you have to copy the path of indicnlp

-go to system variables and edit the path variable to add the copied path.

-restart your Jupyter notebook or whichever environment you are using.

Upvotes: 0

Simran Singhal
Simran Singhal

Reputation: 21

$ pip3 install indic

This command worked for me.

Upvotes: 1

Sandeep Lade
Sandeep Lade

Reputation: 1943

Download get-pip.py from below link get-pip.py

And download pip as

python get-pip.py

After that you can install modules using pip install modulename

Upvotes: 0

Mureinik
Mureinik

Reputation: 311308

It's pretty easy to install with pip:

$ pip install --user indic

Upvotes: 0

Related Questions