Boa tarde.
Tentei executar o script apresentado na aula, porém ao tentar importar a biblioteca sklearn.naive_bayes foi apresentado o erro abaixo.
Como resolver?
[root@4d5a33797e53 teste]# pip freeze
backports.ssl-match-hostname==3.4.0.2
chardet==2.2.1
iniparse==0.4
kitchen==1.1.1
matplotlib==1.2.0
nose==1.3.0
pycurl==7.19.0
pygobject==3.14.0
pygpgme==0.3
pyliblzma==0.5.3
pyparsing==1.5.6
python-dateutil==1.5
pytz===2012d
pyxattr==0.5.1
scikit-learn==0.18.1
urlgrabber==3.10
yum-metadata-parser==1.1.4
python classificacao.py
Traceback (most recent call last):
File "classificacao.py", line 12, in <module>
from sklearn.naive_bayes import MultinomialNB
File "/usr/lib64/python2.7/site-packages/sklearn/__init__.py", line 57, in <module>
from .base import clone
File "/usr/lib64/python2.7/site-packages/sklearn/base.py", line 9, in <module>
import numpy as np
ImportError: No module named numpy