我按照这篇文章中概述的步骤进行操作http://torch.ch/docs/getting-started.html。执行时./install.sh
出现以下警告和错误:
Installing Lua version: LUAJIT21
cmake: /home/shree/anaconda2/lib/libcurl.so.4: no version information available (required by cmake)
/usr/bin/cmake: /home/shree/anaconda2/lib/libcurl.so.4: no version information available (required by /usr/bin/cmake)
并重复相同的警告,然后出现错误:
/home/shree/torch/install/bin/luajit: symbol lookup error: /home/shree/anaconda2/lib/libreadline.so.6: undefined symbol: PC
Installing common Lua packages
/home/shree/torch/install/bin/luajit: symbol lookup error: /home/shree/anaconda2/lib/libreadline.so.6: undefined symbol: PC
并重复同样的事情。
我该如何解决这个问题?
其他系统相关信息:Ubuntu 14.04 + CUDA 7.5 + Anaconda(Python2.7)
答案1
由于冲突似乎源于 anaconda2 文件夹,我发出了以下命令,现在似乎正在起作用:
mv ~/anaconda2 ~/anaconda2_tmp
curl -sk https://raw.githubusercontent.com/torch/ezinstall/master/install-luajit+torch | PREFIX=~/torch bash
看起来它正在工作。完成后将 anaconda2 文件夹移回。