简体   繁体   中英

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?

$ pip3 install indic

这个命令对我有用。

使用 pip 安装非常容易:

$ pip install --user indic

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

#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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM