I have installed PyML package in order to use some machine learning algorithms, and according to the tutorial, my installation is successful.
I try to run a python script which includes the following line to import modules from PyML
from PyML import datafunc,svm,assess,modelSelection,ker
However I get the error message above saying
File
<stdin>
, line 1, in<module>
ImportError: cannot import name datafunc
cannot import name datafunc`. From terminal I check every module by saying
from PyML import datafunc, from PyML import svm, from PyML import ker
I only get error message for datafunc
. The PyML library is under the site-packages
folder of Python 2.7.
I check this question here Python error: ImportError: cannot import name Akismet, but I could't see how it will help my problem.
Do you have any idea why Python imports some modules but does not import this one?