{"action":"created","issue":{"url":"https://api.github.com/repos/facebook/iTorch/issues/5","labels_url":"https://api.github.com/repos/facebook/iTorch/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/facebook/iTorch/issues/5/comments","events_url":"https://api.github.com/repos/facebook/iTorch/issues/5/events","html_url":"https://github.com/facebook/iTorch/issues/5","id":54609390,"number":5,"title":"[Ubuntu 14] How can I install iTorch if I am using anaconda?","user":{"login":"tohnperfect","id":3385277,"avatar_url":"https://avatars.githubusercontent.com/u/3385277?v=3","gravatar_id":"","url":"https://api.github.com/users/tohnperfect","html_url":"https://github.com/tohnperfect","followers_url":"https://api.github.com/users/tohnperfect/followers","following_url":"https://api.github.com/users/tohnperfect/following{/other_user}","gists_url":"https://api.github.com/users/tohnperfect/gists{/gist_id}","starred_url":"https://api.github.com/users/tohnperfect/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tohnperfect/subscriptions","organizations_url":"https://api.github.com/users/tohnperfect/orgs","repos_url":"https://api.github.com/users/tohnperfect/repos","events_url":"https://api.github.com/users/tohnperfect/events{/privacy}","received_events_url":"https://api.github.com/users/tohnperfect/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":25,"created_at":"2015-01-16T18:39:55Z","updated_at":"2015-01-16T23:30:50Z","closed_at":null,"body":"I got the following error when I tried to install iTorch.\r\n\r\nMissing dependencies for itorch:\r\nlzmq \r\nuuid \r\nlbase64 \r\n\r\nUsing https://raw.githubusercontent.com/rocks-moonscript-org/moonrocks-mirror/master/lzmq-0.4.2-1.src.rock... switching to 'build' mode\r\nArchive:  v0.4.2.zip\r\nbb16eda60cd63862f3d1a114229e488bfc43b0d7\r\n   creating: lzmq-0.4.2/\r\n  inflating: lzmq-0.4.2/.gitignore   \r\n\r\n.\r\n.\r\n.\r\nUpdating manifest for /usr/local/lib/luarocks/rocks\r\nuuid 0.2-1 is now built and installed in /usr/local/ (license: Apache 2.0)\r\n\r\nUsing https://raw.githubusercontent.com/rocks-moonscript-org/moonrocks-mirror/master/lbase64-20120820-1.src.rock... switching to 'build' mode\r\nDo not use 'module' as a build type. Use 'builtin' instead.\r\ngcc -O2 -fPIC -I/usr/local/include -c lbase64.c -o lbase64.o\r\ngcc -shared -o base64.so -L/usr/local/lib lbase64.o\r\nUpdating manifest for /usr/local/lib/luarocks/rocks\r\nlbase64 20120820-1 is now built and installed in /usr/local/ (license: Public domain)\r\n\r\n   ipy=$(which ipython)\r\n   if [ -x \"$ipy\" ]\r\n   then\r\n\trm -rf ~/.ipython/profile_torch\r\n\tipython profile create torch\r\n\techo 'c.KernelManager.kernel_cmd = [\"/usr/local/bin/itorch_launcher\",\"{connection_file}\"]' >>~/.ipython/profile_torch/ipython_config.py   \t\r\n\techo \"c.Session.key = b''\" >>~/.ipython/profile_torch/ipython_config.py\r\n\techo \"c.Session.keyfile = b''\" >>~/.ipython/profile_torch/ipython_config.py\r\n\tmkdir -p ~/.ipython/profile_torch/static/base/images\r\n\tcp ipynblogo.png ~/.ipython/profile_torch/static/base/images\r\n\tmkdir -p ~/.ipython/profile_torch/static/custom/\r\n\tcp custom.js ~/.ipython/profile_torch/static/custom/\r\n\tcp custom.css ~/.ipython/profile_torch/static/custom/\r\n\tcp itorch /usr/local/bin/\r\n\tcp itorch_launcher /usr/local/bin/\r\n\tcmake -E make_directory build && cd build && cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_PREFIX_PATH=\"/usr/local/bin/..\" -DCMAKE_INSTALL_PREFIX=\"/usr/local/lib/luarocks/rocks/itorch/scm-1\" && make\t\r\n   else\r\n\techo \"Error: could not find ipython in PATH. Do you have it installed?\"\r\n   fi\r\n  \r\n\r\nError: could not find ipython in PATH. Do you have it installed?\r\ncd build && make install\r\nsh: 1: cd: can't cd to build\r\n\r\nError: Build error: Failed installing.\r\n\r\nThank you."},"comment":{"url":"https://api.github.com/repos/facebook/iTorch/issues/comments/70339705","html_url":"https://github.com/facebook/iTorch/issues/5#issuecomment-70339705","issue_url":"https://api.github.com/repos/facebook/iTorch/issues/5","id":70339705,"user":{"login":"tohnperfect","id":3385277,"avatar_url":"https://avatars.githubusercontent.com/u/3385277?v=3","gravatar_id":"","url":"https://api.github.com/users/tohnperfect","html_url":"https://github.com/tohnperfect","followers_url":"https://api.github.com/users/tohnperfect/followers","following_url":"https://api.github.com/users/tohnperfect/following{/other_user}","gists_url":"https://api.github.com/users/tohnperfect/gists{/gist_id}","starred_url":"https://api.github.com/users/tohnperfect/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tohnperfect/subscriptions","organizations_url":"https://api.github.com/users/tohnperfect/orgs","repos_url":"https://api.github.com/users/tohnperfect/repos","events_url":"https://api.github.com/users/tohnperfect/events{/privacy}","received_events_url":"https://api.github.com/users/tohnperfect/received_events","type":"User","site_admin":false},"created_at":"2015-01-16T23:30:50Z","updated_at":"2015-01-16T23:30:50Z","body":"Yeah I still suspect there will be some issue because I still get error at the top when I run \"sudo env \"PATH=$PATH\" luarocks make\". Anyway If I got more error while I am trying I will report more.\r\n\r\nHope to use iTorch in my project.\r\n\r\nCheers."}}