--- Log opened Tue Sep 01 00:00:00 2015 | ||
-!- PirosB3 [~pirosb3@host95-110-dynamic.252-95-r.retail.telecomitalia.it] has joined #shogun | 01:10 | |
-!- PirosB3 [~pirosb3@host95-110-dynamic.252-95-r.retail.telecomitalia.it] has quit [Quit: PirosB3] | 02:04 | |
-!- shaochuan [~shaochuan@c-50-184-81-180.hsd1.ca.comcast.net] has joined #shogun | 02:12 | |
-!- shaochuan [~shaochuan@c-50-184-81-180.hsd1.ca.comcast.net] has quit [Ping timeout: 260 seconds] | 02:17 | |
shogun-buildbot | build #923 of nightly_none is complete: Success [build successful] Build details are at http://buildbot.shogun-toolbox.org/builders/nightly_none/builds/923 | 03:02 |
---|---|---|
shogun-buildbot | build #1044 of nightly_default is complete: Success [build successful] Build details are at http://buildbot.shogun-toolbox.org/builders/nightly_default/builds/1044 | 04:10 |
-!- shaochuan [~shaochuan@c-50-184-81-180.hsd1.ca.comcast.net] has joined #shogun | 07:27 | |
-!- shaochuan [~shaochuan@c-50-184-81-180.hsd1.ca.comcast.net] has quit [Ping timeout: 240 seconds] | 07:31 | |
-!- shaochuan [~shaochuan@c-50-184-81-180.hsd1.ca.comcast.net] has joined #shogun | 08:25 | |
-!- shaochuan [~shaochuan@c-50-184-81-180.hsd1.ca.comcast.net] has quit [Ping timeout: 250 seconds] | 08:30 | |
-!- shaochuan [~shaochuan@c-50-184-81-180.hsd1.ca.comcast.net] has joined #shogun | 15:37 | |
-!- Arnei [83ad216a@gateway/web/freenode/ip.131.173.33.106] has joined #shogun | 15:42 | |
-!- shaochuan [~shaochuan@c-50-184-81-180.hsd1.ca.comcast.net] has quit [Ping timeout: 256 seconds] | 15:42 | |
-!- cgo [864c368c@gateway/web/freenode/ip.134.76.54.140] has joined #shogun | 15:42 | |
-!- cgo [864c368c@gateway/web/freenode/ip.134.76.54.140] has quit [Client Quit] | 15:43 | |
Arnei | Anybody around who might help me out? I think i managed to install shogun as well as the modular python interface under ubuntu 14, but i can't get python to find the shogun modules. | 16:02 |
lisitsyn | hey | 16:05 |
lisitsyn | Arnei: install like with 'make install'? | 16:05 |
Arnei | exactly that | 16:06 |
Arnei | Lots of people suggest setting PYTHONPATH in the .bashrc file, but that does not seem change anything | 16:11 |
lisitsyn | Arnei: sorry back | 16:20 |
lisitsyn | Arnei: what happens when you do 'import modshogun'? | 16:21 |
Arnei | it tells me that there is "no module named modshogun" | 16:22 |
lisitsyn | okie | 16:22 |
lisitsyn | Arnei: what did you do to compile python_modular interface? | 16:22 |
Arnei | I cloned the shogun-toolbox from github, build it via cmake with the command "cmake -DPythonModular=On -DCMAKE_INSTALL_PREFIX="$HOME/shogun-install".." and then ran "make install". That's roughly it. | 16:24 |
@wiking | PYTHONPATH + LD_LIBRARY_PATH is your friend | 16:31 |
Arnei | i tried setting that in the .bashrc, but to no avail | 16:34 |
Arnei | to be more precise: export LD_LIBRARY_PATH="$HOME/shogun-install/lib:$LD_LIBRARY_PATH" | 16:34 |
Arnei | export PYTHONPATH=$HOME/shogun-install/lib/python2.7/dist-packages:$HOME/shogun/examples/undocumented/python_modular:$PYTHONPATH | 16:34 |
lisitsyn | shogun-install or shoguninstall? | 16:37 |
lisitsyn | LD_LIBRARY_PATH is the second step | 16:38 |
lisitsyn | first you need to make it detectable by python | 16:38 |
lisitsyn | this is done via PYTHONPATH | 16:38 |
lisitsyn | I guess your path is not yet correct | 16:38 |
Arnei | aaah, i'm stumbling over the obvious again. Thanks, i'll see if correcting the paths will sort it out | 16:46 |
Arnei | Okay, i copy&pasted the paths from the filemanager, they should be correct now. But there still is "no module named modshogun" | 16:52 |
lisitsyn | Arnei: if you're setting .bashrc it could be that you didn't update it yet | 16:55 |
lisitsyn | if you haven't restarted bash, do 'source ~/.bashrc' | 16:55 |
Arnei | I've done that, but it changed nothing. Is 'source ~/.bashrc' supposed to give any feedback? | 16:58 |
@besser82 | Arnei, source ~/.bashrc ; echo $? ----> returns 0 if no error... | 16:59 |
Arnei | Sorry, i'm pretty new to Linux in general. At least i'm getting a 0. | 17:00 |
lisitsyn | Arnei: did that help? | 17:15 |
lisitsyn | wiking: besser82: guys? | 17:15 |
Arnei | Nope, still nothing | 17:15 |
lisitsyn | Arnei: is modshogun.so in the directory you pointed? | 17:16 |
Arnei | Yes, it is | 17:17 |
lisitsyn | Arnei: what if you do PYTHONPATH=this/directory/we/are/talking/about python -c 'import modshogun'? | 17:18 |
Arnei | PYTHONPATH=$HOME/arwilken/shogun-install../lib/python2.7/dist-packages python -c 'import modshogun' | 17:20 |
Arnei | ImportError: No module named modshogun | 17:20 |
lisitsyn | and ls "$HOME/arwilken/shogun-install../lib/python2.7/dist-packages" shows you modshogun.so? | 17:21 |
Arnei | it ... actually doesn't. wired, that is the location i found via the filemanager. and that is precisely the path it gave me. | 17:23 |
Arnei | *weird, not wired^^ | 17:24 |
Arnei | oh wait, it does. nevermind | 17:25 |
Arnei | although it shows me "_modshogun.so", but i suppose that is what you meant | 17:26 |
@wiking | mijauuuuu | 17:33 |
-!- rajul [~rajul@node-41i.pool-101-108.dynamic.totbb.net] has joined #shogun | 17:34 | |
Arnei | Okay, somehow exchanging "$HOME" with "/home" did the trick. Looks like the imports work now. | 17:37 |
Arnei | Thanks a lot for your help and your patience :) | 17:38 |
-!- Arnei [83ad216a@gateway/web/freenode/ip.131.173.33.106] has quit [Quit: Page closed] | 17:44 | |
-!- shaochuan [~shaochuan@c-50-184-81-180.hsd1.ca.comcast.net] has joined #shogun | 18:39 | |
-!- shaochuan [~shaochuan@c-50-184-81-180.hsd1.ca.comcast.net] has quit [Ping timeout: 264 seconds] | 18:44 | |
@wiking | anybody knows a good distributed cache for c/c++ | 20:00 |
-!- rajul [~rajul@node-41i.pool-101-108.dynamic.totbb.net] has quit [Quit: Leaving] | 20:35 | |
-!- rajul [~rajul@node-41i.pool-101-108.dynamic.totbb.net] has joined #shogun | 20:36 | |
-!- shaochuan [~shaochuan@c-50-184-81-180.hsd1.ca.comcast.net] has joined #shogun | 21:02 | |
-!- shaochuan [~shaochuan@c-50-184-81-180.hsd1.ca.comcast.net] has quit [Ping timeout: 250 seconds] | 21:06 | |
-!- rajul [~rajul@node-41i.pool-101-108.dynamic.totbb.net] has quit [Ping timeout: 252 seconds] | 22:06 | |
-!- rajul [~rajul@node-xho.pool-125-24.dynamic.totbb.net] has joined #shogun | 22:19 | |
--- Log closed Wed Sep 02 00:00:02 2015 |
Generated by irclog2html.py 2.10.0 by Marius Gedminas - find it at mg.pov.lt!