Dear list members, I am unable to properly install the python bindings, despite I correctly built mlpack from source without any error and warning. I am on a Mac OsX 10.12.6 and all the dependencies have been installed with the latest available version. I am also using the latest version of Cmake.
Looking at this thread, where the same issue was reported, https://github.com/mlpack/mlpack/issues/1416 , I get that mlpack should be installed in /usr/local/lib/pythonX.Y/site-packages/ However it is not present. As a result when I try to import the module in python 2 or 3 I get >>> import mlpack Traceback (most recent call last): File "<stdin>", line 1, in <module> ImportError: No module named mlpack I even tried to manually launch from the build directory the commands export LD_LIBRARY_PATH=lib/ export PYTHONPATH=src/mlpack/bindings/python/ but with no improvement. In /lib I have the files libmlpack.3.0.dylib* libmlpack.3.dylib@ libmlpack.dylib@ should I manually move them? Where exactly? Any suggestions? What I am missing? Also, I signal that I get the following errors when running the test: bin/mlpack_test Running 1445 test cases... /Users/frodo/Documents/Machine_learning/mlpack-3.0.4/src/mlpack/tests/logistic_regression_test.cpp:784: fatal error: in "LogisticRegressionTest/LogisticRegressionSparseLBFGSTest": difference{1.04095e-06} between lr.Parameters()[i]{0.057823485257429592} and lrSparse.Parameters()[i]{0.057823425065859017} exceeds 0.0001% /Users/frodo/Documents/Machine_learning/mlpack-3.0.4/src/mlpack/tests/lrsdp_test.cpp:270: fatal error: in "LRSDPTest/GaussianMatrixSensingSDP": difference{0.00055936} between measurement{0.00023854628409627696} and b(i){0.00023841292538047745} exceeds 0.05% error: eig_sym(): decomposition failed unknown location:0: fatal error: in "SdpPrimalDualTest/SmallLovaszThetaSdp": std::runtime_error: eig_sym(): decomposition failed /Users/frodo/Documents/Machine_learning/mlpack-3.0.4/src/mlpack/tests/sdp_primal_dual_test.cpp:278: last checkpoint: "SmallLovaszThetaSdp" test entry ** On entry to DLASCL, parameter number 4 had an illegal value ** On entry to DLASCL, parameter number 5 had an illegal value /Users/frodo/Documents/Machine_learning/mlpack-3.0.4/src/mlpack/tests/main_tests/preprocess_imputer_test.cpp:76: fatal error: in "PreprocessImputerMainTest/PreprocessImputerDimensionTest": critical check outputData.n_cols == inputSize has failed [0 != 67] /Users/frodo/Documents/Machine_learning/mlpack-3.0.4/src/mlpack/tests/main_tests/preprocess_imputer_test.cpp:143: fatal error: in "PreprocessImputerMainTest/PreprocessImputerListwiseDimensionTest": critical check outputData.n_cols + countNaN == inputSize has failed [26 != 67] *** 5 failures are detected in the test module "mlpackTest" Finally, I signl that pip install mlpack/mlpack3 does not work. Cheers FJ
_______________________________________________ mlpack mailing list [email protected] http://knife.lugatgt.org/cgi-bin/mailman/listinfo/mlpack
