ChanServ changed the topic of #mlpack to: "Due to ongoing spam on freenode, we've muted unregistered users. See for more information, or also you could join #mlpack-temp and chat there."
< rcurtin> fristonio: sorry for the slow response. is it possible to paste the full output of what happens when you type 'make python'?
tolt1 has joined #mlpack
tolt1 has quit [Remote host closed the connection]
leelu has joined #mlpack
leelu has quit [Remote host closed the connection]
cjlcarvalho has joined #mlpack
s0lar1s27 has joined #mlpack
s0lar1s27 has quit [Killed (Unit193 (Spam is not permitted on freenode.))]
ImQ009 has joined #mlpack
ijmad has joined #mlpack
ijmad has quit [Remote host closed the connection]
SiLuman26 has joined #mlpack
SiLuman26 has quit [Ping timeout: 240 seconds]
fristonio has joined #mlpack
< fristonio> Hi, so I have been trying to install mlpack, and while I can use the binaries from within the bin folder, I am having trouble calling mlpack from within the python interpreter. It's giving me a module not found error. I have tried following along the steps of issue # 1416, but that doesn't seem to be the solution. All the depedencies (cython, numpy) have their latest versions. I cannot figure out what's going wrong
< fristonio> I am on Manjaro, it's an Arch based distribution
< zoq> fristonio: Hello, can you post the output of 'make python' as Ryan suggested yesterday:
< fristonio> sure just a second
< zoq> okay that looks good, can you post the output of 'make install' as well?
< fristonio> np
< fristonio> it's going to take some time, it isn't giving the normal "built" messages but it's actually building them now
< zoq> okay, this might take some time
< fristonio> okay do you want the whole log? It threw an error at the end
< fristonio> I should have probably made the terminal output the log into a file, I am sorry I just ran it on the terminal, I can't scroll all the way back up now
< fristonio> the first time I ran this command (during the initial setup) I had run "sudo make install" so I guess this explains the error I am getting now,
< fristonio> ?
AlxAltea has joined #mlpack
< fristonio> this is the whole output, I assume, I piped it into a file
< zoq> okay, this looks good as well
AlxAltea has quit [Ping timeout: 260 seconds]
< zoq> did you test the import after the last make install?
< fristonio> that error went away when I ran make install as root, however still no change cannot import mlpack into python interpreter :(
< fristonio> python 3.7.0 if this helps
< fristonio> cli interface works great, I can run commands, test it out on datasets, call "help" on it, it's just not getting imported into python. I added all the env variables which had been specified on the online doc, in my zshrc profile
< fristonio> in short all the intsructions have been carried out
< zoq> hm, okay, can you also print your PYTHONPATH, 'os.environ['PYTHONPATH'].split(os.pathsep)'?
< zoq> it should list: /usr/lib/python3.7/site-packages
< fristonio> ['', '~/Downloads/builds/mlpack-3.0.3/build/src/mlpack/bindings/python/']
< zoq> what about 'print(sys.path)'
< fristonio> ['', '/home/himal', '/home/himal/~/Downloads/builds/mlpack-3.0.3/build/src/mlpack/bindings/python', '/usr/lib/', '/usr/lib/python3.7', '/usr/lib/python3.7/lib-dynload', '/usr/lib/python3.7/site-packages']
< fristonio> wait, why is the "~" getting repeated in the 3rd item?
< fristonio> yeah I changed it to no effect
< zoq> I guess ls /usr/lib/python3.7/site-packages/ does show mlpack
< zoq> we are using the packages from /usr/lib/python3.7/site-packages/ anyway
< zoq> so you could remove the build folder
< fristonio> ls /usr/lib/python3.7/site-packages has NO mlpack,
< fristonio> I think we found the problem
< zoq> what about /usr/local/lib/python3.7/site-packages?
< fristonio> mlpack-3.0.3-py3.7-linux-x86_64.egg: this is present
< zoq> okay, can you add /usr/loca/lib/python3.7/site-packages to your PYTHONPATH?
< fristonio> worked
< fristonio> great
< fristonio> thanks a lot
< zoq> great, I guess there is a way to either use /usr/lib right away or to extend the PYTHONPATH automatically
< zoq> will look into it
< fristonio> thanks, that's great
fristonio has quit [Quit: Page closed]
vivekp has quit [Ping timeout: 260 seconds]
vivekp has joined #mlpack
lozhnikov has quit [Quit: ZNC 1.7.0 -]
xoryo3 has joined #mlpack
xoryo3 has quit [Killed (Sigyn (Spam is off topic on freenode.))]
Seihava_ has joined #mlpack
Seihava_ has quit [Remote host closed the connection]
vivekp has quit [Read error: Connection reset by peer]
vivekp has joined #mlpack
< rcurtin> fristonio: zoq: also possible is to set -DCMAKE_INSTALL_PREFIX=/usr to install directly to /usr/lib not /usr/local/lib but that could cause conflicts between manually installed files and system installed files
< zoq> rcurtin: Right, I was thinking if we could check the PYTHONPATH at the install or build step and print some information based on that at the end e.g. add /usr/local/lib... to your PYTHONPATH
< rcurtin> I think that would be a good idea
madvillain has joined #mlpack
madvillain has quit [Remote host closed the connection]
CraftyFellow0 has joined #mlpack
CraftyFellow0 has quit [Remote host closed the connection]
AJaeger2 has joined #mlpack
AJaeger2 has quit [Remote host closed the connection]
ThoNohT13 has joined #mlpack
ThoNohT13 has quit [Ping timeout: 245 seconds]
iLogic14 has joined #mlpack
ImQ009 has quit [Quit: Leaving]
iLogic14 has quit [Remote host closed the connection]
alexxy15 has joined #mlpack
alexxy15 has quit [Ping timeout: 260 seconds]
nitroxis26 has joined #mlpack
]OLI[18 has joined #mlpack
nitroxis26 has quit [K-Lined]
]OLI[18 has quit [Ping timeout: 252 seconds]
arnaud__ has joined #mlpack
arnaud__ has quit [Remote host closed the connection]