verne.freenode.net changed the topic of #mlpack to: http://www.mlpack.org/ -- We don't respond instantly... but we will respond. Give it a few minutes. Or hours. -- Channel logs: http://www.mlpack.org/irc/
govg has quit [Ping timeout: 260 seconds]
govg has joined #mlpack
govg has quit [Ping timeout: 264 seconds]
govg has joined #mlpack
govg has quit [Ping timeout: 240 seconds]
witness has joined #mlpack
govg has joined #mlpack
vivekp has quit [Ping timeout: 255 seconds]
vivekp has joined #mlpack
daivik has joined #mlpack
vivekp has quit [Ping timeout: 260 seconds]
vivekp has joined #mlpack
daivik has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
kaushik_ has joined #mlpack
Harpreet has joined #mlpack
daivik has joined #mlpack
daivik has quit [Client Quit]
daivik has joined #mlpack
shengsu has joined #mlpack
daivik has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
daivik has joined #mlpack
petris has quit []
petris has joined #mlpack
vivekp has quit [Ping timeout: 255 seconds]
vivekp has joined #mlpack
shengsu has quit [Ping timeout: 260 seconds]
vivekp has quit [Ping timeout: 252 seconds]
vivekp has joined #mlpack
hacsheng has joined #mlpack
hacsheng_ has joined #mlpack
hacsheng has quit [Quit: Page closed]
< hacsheng_> I have a problem with building the mlpack Python bindings. I can use mlpack on CLI. When I open python and import mlpack, it shows no mlpack module.
< hacsheng_> I use mac (10.11.6)
< hacsheng_> I use .sh file to install mlpack
< hacsheng_> this is my .sh below
< hacsheng_> brew install armadillo #cd .. curl -O http://netcologne.dl.sourceforge.net/project/boost/boost/1.60.0/boost_1_60_0.tar.gz tar zxvf boost_1_60_0.tar.gz cd boost_1_60_0 sh bootstrap.sh ./b2 ./b2 install cd .. git clone https://github.com/mlpack/mlpack cd mlpack mkdir build cd build #cmake .. cmake -D DEBUG=ON -D PROFILE=ON -D BUILD_CLI_EXECUTABLES=ON -D BUILD_PYTHON_BINDINGS=ON ../ make make install
< hacsheng_> Does anyone encounter this problem before?
< rcurtin> are the Python bindings available on your PYTHONPATH?
< rcurtin> I would imagine they installed into /usr/local/lib/python.../ (or somewhere like this)
djhoulihan has quit [Quit: A deep and dreamless slumber.]
< hacsheng_> I thought if I set "BUILD_PYTHON_BINDINGS=ON" before I make, Python bindings will be available...
< rcurtin> yes
< rcurtin> and if you build and install the Python bindings
< rcurtin> you need to ensure that your PYTHONPATH includes the directory they were installed to
< rcurtin> the first check would be to find the directory that the Python bindings installed to; you could search for mlpack/__init__.py somewhere on your system
djhoulihan has joined #mlpack
govg has quit [Ping timeout: 255 seconds]
govg has joined #mlpack
kaushik_ has quit [Quit: Connection closed for inactivity]
kaushik_ has joined #mlpack
< daivik> rcurtin: Upgrading to boost 1.62 solved the problem. You were right, it was a version issue.
< rcurtin> daivik: ok, that is good to know
< daivik> also with v1.58, I can see 3 tests failing when i run mlpack_test -- and all are related to serialization
< rcurtin> hmm, ok
< rcurtin> so, if you are feeling up to it, you can test if this patch helps on boost 1.58:
< rcurtin> unfortunately I can't dig in too deep, because the system with which I'd test boost 1.58 is about to go down for the weekend...
< rcurtin> but anyway, the serialization issues I mentioned yesterday might be affecting some of those tests... but I am not sure. I'm kind of doubtful it will help your exact case
< rcurtin> in any case, if you want to keep digging feel free; if not, definitely we should open a github issue at this point so that we can continue to track down the issue
< daivik> Sure, I've got two docker containers set up now -- one with each boost version. I'll give it a go.
< rcurtin> thanks, I'll be interested to see what you find
< rcurtin> boost serialization is really nice but when something goes wrong it's a disaster ...
daivik has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
clion has joined #mlpack
hacsheng_ has quit [Ping timeout: 260 seconds]
Harpreet has quit [Ping timeout: 260 seconds]
ImQ009 has joined #mlpack
jenkins-mlpack has quit []
< rcurtin> ok, hopefully jenkins-mlpack will come back someday... :)
clion has quit [Ping timeout: 260 seconds]
kaushik_ has quit [Quit: Connection closed for inactivity]
sshekhar has joined #mlpack
sshekhar has quit [Ping timeout: 260 seconds]
hacsheng has joined #mlpack
< hacsheng> question again: c++ -bundle -undefined dynamic_lookup -arch i386 -arch x86_64 -Wl,-F. build/temp.macosx-10.11-intel-2.7/Users/shengsu/Downloads/c++mlpack/mlpack/build/src/mlpack/bindings/python/mlpack/kmeans.o -L/Users/shengsu/Downloads/c++mlpack/mlpack/build/lib/ -lmlpack -lboost_serialization -o build/lib.macosx-10.11-intel-2.7/mlpack/kmeans.so NOTFOUND clang: error: no such file or directory: 'NOTFOUND' error: command 'c++' faile
< hacsheng> Is it possible for compiler problem?
< hacsheng> I use mac (clang)
< rcurtin> huh, looks like one of the libraries was not found...
< rcurtin> can you tell me the output of 'grep NOTFOUND CMakeCache.txt'
< hacsheng> Boost_DIR:PATH=Boost_DIR-NOTFOUND CMAKE_OBJCOPY:FILEPATH=CMAKE_OBJCOPY-NOTFOUND DOXYGEN_DOT_EXECUTABLE:FILEPATH=DOXYGEN_DOT_EXECUTABLE-NOTFOUND DOXYGEN_EXECUTABLE:FILEPATH=DOXYGEN_EXECUTABLE-NOTFOUND OpenMP_CXX_FLAGS:STRING=NOTFOUND OpenMP_CXX_LIB_NAMES:STRING=NOTFOUND OpenMP_C_FLAGS:STRING=NOTFOUND OpenMP_C_LIB_NAMES:STRING=NOTFOUND PKG_CONFIG_EXECUTABLE:FILEPATH=PKG_CONFIG_EXECUTABLE-NOTFOUND TXT2MAN:FILEPATH=TXT2MAN-NOTFOUND
< rcurtin> ok, so it looks like boost was not found...
< rcurtin> what was the CMake output?
< rcurtin> ah, sorry, I think maybe I am incorrect, I think maybe OpenMP wasn't found
< rcurtin> what is the compiler version?
< hacsheng> Apple LLVM version 8.0.0 (clang-800.0.42.1)
< hacsheng> It did work and install successfully 12 hours ago... I try again
< rcurtin> I thought about it, that version of the compiler has OpenMP support
< rcurtin> so I am not quite sure what is happening
< rcurtin> you could remove the full build directory and try again, that may be the right way to go
hacsheng has quit [Ping timeout: 260 seconds]
ImQ009 has quit [Quit: Leaving]
witness has quit [Quit: Connection closed for inactivity]