1

I have already installed numpy, scipy, matplotlib, nltk, scikit-learn using
conda install module_name in miniconda. And import- numpy, scipy are working. but when I do import sklearn and import nltk it says that no module named sklearn and same in case of nltk. sklearn import error image

I have already seen many similar problems here. some of are:
1). Problems with installing and using scikit-learn in Anaconda
2).Cannot import scikits-learn even though it seems to be installed But could not get any help. please help.

Community
  • 1
  • 1
log0
  • 2,206
  • 2
  • 14
  • 24
  • Why are you hanging out in the deep nested environment folders of anaconda (it's not supposed to be used like that)? Just use [activate](http://conda.pydata.org/docs/using/envs.html#change-environments-activate-deactivate) to put the right environment into path (and if needed: do the install while activated). – sascha Oct 07 '16 at 05:21
  • @sascha thank you so much, installing while activated environment worked. :) . Please tell me how do I run a python file e.g startup.py ? The files has all the modules specified up in the problem.I am new to python. – log0 Oct 07 '16 at 05:28
  • ```python startup.py``` while the environment is active. Consider reading some python tutorials! – sascha Oct 07 '16 at 05:30
  • @sascha Thank you :) – log0 Oct 07 '16 at 05:42
  • @sascha would you help me installing the module cPickle? coda install cPickle command says that such module doesn't exist! – log0 Oct 09 '16 at 14:07
  • 1 minute of searching and you would have recognized, that it's part of python. The only question now is which python to use. Read [this](http://askubuntu.com/questions/742782/how-to-install-cpickle-on-python-3-4). – sascha Oct 09 '16 at 14:11

0 Answers0