mlpack IRC logs, 2018-09-22

Logs for the day 2018-09-22 (starts at 0:00 UTC) are shown below.

>
September 2018
Sun
Mon
Tue
Wed
Thu
Fri
Sat
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
22
23
24
25
26
27
28
29
30
--- Log opened Sat Sep 22 00:00:34 2018
01:57 < rcurtin> fristonio: sorry for the slow response. is it possible to paste the full output of what happens when you type 'make python'?
02:38 -!- tolt1 [~tolt@46.0.33.113] has joined #mlpack
02:42 -!- tolt1 [~tolt@46.0.33.113] has quit [Remote host closed the connection]
03:15 -!- leelu [~leelu@197.35.99.252] has joined #mlpack
03:15 -!- leelu [~leelu@197.35.99.252] has quit [Remote host closed the connection]
04:29 -!- cjlcarvalho [~caio@189-105-107-201.user.veloxzone.com.br] has joined #mlpack
06:48 -!- s0lar1s27 [~s0lar1s@197.55.207.35] has joined #mlpack
06:49 -!- s0lar1s27 [~s0lar1s@197.55.207.35] has quit [Killed (Unit193 (Spam is not permitted on freenode.))]
07:55 -!- ImQ009 [~ImQ009@unaffiliated/imq009] has joined #mlpack
08:46 -!- ijmad [~ijmad@220-235-165-101.dyn.iinet.net.au] has joined #mlpack
08:48 -!- ijmad [~ijmad@220-235-165-101.dyn.iinet.net.au] has quit [Remote host closed the connection]
09:27 -!- SiLuman26 [~SiLuman@mx-ll-180.183.104-98.dynamic.3bb.co.th] has joined #mlpack
09:34 -!- SiLuman26 [~SiLuman@mx-ll-180.183.104-98.dynamic.3bb.co.th] has quit [Ping timeout: 240 seconds]
10:56 -!- fristonio [6725c949@gateway/web/freenode/ip.103.37.201.73] has joined #mlpack
11:33 < 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
11:34 < fristonio> I am on Manjaro, it's an Arch based distribution
11:35 < zoq> fristonio: Hello, can you post the output of 'make python' as Ryan suggested yesterday: http://mlpack.org/irc/
11:37 < fristonio> sure just a second
11:38 < fristonio> https://pastebin.com/Jq0QJink
11:44 < zoq> okay that looks good, can you post the output of 'make install' as well?
11:45 < fristonio> np
11:49 < fristonio> it's going to take some time, it isn't giving the normal "built" messages but it's actually building them now
11:51 < zoq> okay, this might take some time
12:07 < fristonio> okay do you want the whole log? It threw an error at the end
12:08 < fristonio> https://pastebin.com/Q9MbPHUF
12:09 < 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
12:11 < 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,
12:11 < fristonio> ?
12:14 < fristonio> https://pastebin.com/UmF5E6ah
12:15 -!- AlxAltea [~AlxAltea@184.170.34.92] has joined #mlpack
12:15 < fristonio> this is the whole output, I assume, I piped it into a file
12:23 < zoq> okay, this looks good as well
12:23 -!- AlxAltea [~AlxAltea@184.170.34.92] has quit [Ping timeout: 260 seconds]
12:24 < zoq> did you test the import after the last make install?
12:24 < fristonio> that error went away when I ran make install as root, however still no change cannot import mlpack into python interpreter :(
12:24 < fristonio> python 3.7.0 if this helps
12:27 < 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
12:27 < fristonio> in short all the intsructions have been carried out
12:28 < zoq> hm, okay, can you also print your PYTHONPATH, 'os.environ['PYTHONPATH'].split(os.pathsep)'?
12:29 < zoq> it should list: /usr/lib/python3.7/site-packages
12:30 < fristonio> ['', '~/Downloads/builds/mlpack-3.0.3/build/src/mlpack/bindings/python/']
12:30 < zoq> what about 'print(sys.path)'
12:31 < fristonio> ['', '/home/himal', '/home/himal/~/Downloads/builds/mlpack-3.0.3/build/src/mlpack/bindings/python', '/usr/lib/python37.zip', '/usr/lib/python3.7', '/usr/lib/python3.7/lib-dynload', '/usr/lib/python3.7/site-packages']
12:33 < fristonio> wait, why is the "~" getting repeated in the 3rd item?
12:33 < fristonio> yeah I changed it to no effect
12:33 < zoq> I guess ls /usr/lib/python3.7/site-packages/ does show mlpack
12:34 < zoq> we are using the packages from /usr/lib/python3.7/site-packages/ anyway
12:34 < zoq> so you could remove the build folder
12:35 < fristonio> ls /usr/lib/python3.7/site-packages has NO mlpack,
12:36 < fristonio> I think we found the problem
12:37 < zoq> what about /usr/local/lib/python3.7/site-packages?
12:38 < fristonio> mlpack-3.0.3-py3.7-linux-x86_64.egg: this is present
12:39 < zoq> okay, can you add /usr/loca/lib/python3.7/site-packages to your PYTHONPATH?
12:41 < fristonio> worked
12:41 < fristonio> great
12:41 < fristonio> thanks a lot
12:43 < zoq> great, I guess there is a way to either use /usr/lib right away or to extend the PYTHONPATH automatically
12:43 < zoq> will look into it
12:43 < fristonio> thanks, that's great
12:43 -!- fristonio [6725c949@gateway/web/freenode/ip.103.37.201.73] has quit [Quit: Page closed]
13:18 -!- vivekp [~vivek@unaffiliated/vivekp] has quit [Ping timeout: 260 seconds]
13:37 -!- vivekp [~vivek@unaffiliated/vivekp] has joined #mlpack
13:45 -!- lozhnikov [~mikhail@lozhnikov.static.corbina.ru] has quit [Quit: ZNC 1.7.0 - https://znc.in]
14:09 -!- xoryo3 [~xoryo@36.37.160.235] has joined #mlpack
14:10 -!- xoryo3 [~xoryo@36.37.160.235] has quit [Killed (Sigyn (Spam is off topic on freenode.))]
14:40 -!- Seihava_ [~Seihava_@110.77.251.60] has joined #mlpack
14:43 -!- Seihava_ [~Seihava_@110.77.251.60] has quit [Remote host closed the connection]
15:13 -!- vivekp [~vivek@unaffiliated/vivekp] has quit [Read error: Connection reset by peer]
15:15 -!- vivekp [~vivek@unaffiliated/vivekp] has joined #mlpack
15:31 < 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
15:38 < 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
15:48 < rcurtin> I think that would be a good idea
17:44 -!- madvillain [~madvillai@31.59.24.203] has joined #mlpack
17:46 -!- madvillain [~madvillai@31.59.24.203] has quit [Remote host closed the connection]
19:17 -!- CraftyFellow0 [~CraftyFel@mbl-109-58-27.dsl.net.pk] has joined #mlpack
19:25 -!- CraftyFellow0 [~CraftyFel@mbl-109-58-27.dsl.net.pk] has quit [Remote host closed the connection]