Graphics
Intel® graphics drivers and software, compatibility, troubleshooting, performance, and optimization
20590 Discussions

nltk error

AShar38
Beginner
2,022 Views

Hi, when I am working on jupyter notebook by login using given credentials, I am getting error while importing nltk as "no module named nltk". I tried to install nltk by entering command "!pip install nltk" in notebook , but getting below error :

Thanks !

0 Kudos
4 Replies
idata
Employee
947 Views
Hi,

 

 

Thanks for reaching out to us!

 

Try these commands from the shell:

 

 

conda create -n python=3.6 source activate  conda install ipykernel ipython kernel install --name --user conda install nltk -c intel

 

Once this is done, launch your python code from hub.colfaxresearch.com

 

Select Kernel -> Change Kernel ->

 

 

Thanks & Regards,

 

Sandhiya
0 Kudos
AShar38
Beginner
947 Views

conda tab not showing in my jupyter notebook to change environment.. How can I create and activate environment from shell??

0 Kudos
idata
Employee
947 Views

Hi,

 

Please try out the previous command from your DevCloud terminal (shell), not in Jupyter notebook.

 

 

If the issue still persists, please let us know.

 

 

Regards,

 

Dona
0 Kudos
idata
Employee
947 Views

Hi,

 

 

Hope it has answered your queries. We are closing the discussion since there is no response further. Feel free to start a fresh discussion.

 

 

Regards,

 

Dona
0 Kudos
Reply