shogun-toolbox / shogun

Shōgun
http://shogun-toolbox.org
BSD 3-Clause "New" or "Revised" License
3.03k stars 1.04k forks source link

Python interface works only partly #3245

Closed AngryMaciek closed 8 years ago

AngryMaciek commented 8 years ago

Hi, I have a problem while trying to use your toolbox: I call from modshogun import * in python 2.7 and its OK. However, things like PCA, Isomap, LMNN are not recognized ("cannot import name ...") How to call cmake properly in such case?

karlnapf commented 8 years ago

This is most likely due to a missing eigen3. The latest development version includes it by default, you could try that. or run cmake with -DBUNDLE_EIGEN (or similar).

Always, when reporting errors, messages and your configuration are helpful to solve them

AngryMaciek commented 8 years ago

I have tried-DBULNDE_EIGEN with no effect. I have downloaded the development version and tried to run cmake -DPythonModular=ON .. and got errors (attached in file "out"). I also attach 2 other files that were mentioned.

files.zip

karlnapf commented 8 years ago

Can you please put these on github gist rather than attached a zipfile? Also, what exact command did you use to build shogun, and what is your system spec. Thanks!