0
Ubuntu14.04 시스템의 Torch installation guide과 관련된 설치 문제가 있습니다. 토치 패키지의 자식-복제 후 는, 토치 실행하여 ~/torch
내 홈 폴더에 설치 : 터미널 출력토치 설치 문제 : 'torchcwrap'모듈을 찾을 수 없습니다.
cd ~/torch; bash install-deps;
TORCH_LUA_VERSION=LUA51 ./install.sh
일부는 다음과 같이 게시 : 마지막으로
/home/fit/torch/install/bin/lua: /home/fit/torch/pkg/torch/random.lua:3: module 'torchcwrap' not found:
no field package.preload['torchcwrap']
no file '/home/fit/.luarocks/share/lua/5.1/torchcwrap.lua'
no file '/home/fit/.luarocks/share/lua/5.1/torchcwrap/init.lua'
no file '/home/fit/torch/install/share/lua/5.1/torchcwrap.lua'
no file '/home/fit/torch/install/share/lua/5.1/torchcwrap/init.lua'
no file '/home/fit/deeptracking/deeptracking/tracker/torchcwrap.lua'
no file '/home/fit/.luarocks/lib/lua/5.1/torchcwrap.so'
no file '/home/fit/torch/install/lib/lua/5.1/torchcwrap.so'
no file './torchcwrap.so'
no file '/home/fit/torch/install/lib/lua/5.1/loadall.so'
stack traceback:
[C]: in function 'require'
/home/fit/torch/pkg/torch/random.lua:3: in main chunk
[C]: ?
make[2]: *** [random.c] Error 1
make[2]: *** Waiting for unfinished jobs....
/home/fit/torch/install/bin/lua: /home/fit/torch/pkg/torch/TensorMath.lua:3: module 'torchcwrap' not found:
no field package.preload['torchcwrap']
no file '/home/fit/.luarocks/share/lua/5.1/torchcwrap.lua'
no file '/home/fit/.luarocks/share/lua/5.1/torchcwrap/init.lua'
no file '/home/fit/torch/install/share/lua/5.1/torchcwrap.lua'
no file '/home/fit/torch/install/share/lua/5.1/torchcwrap/init.lua'
no file '/home/fit/deeptracking/deeptracking/tracker/torchcwrap.lua'
no file '/home/fit/.luarocks/lib/lua/5.1/torchcwrap.so'
no file '/home/fit/torch/install/lib/lua/5.1/torchcwrap.so'
no file './torchcwrap.so'
no file '/home/fit/torch/install/lib/lua/5.1/loadall.so'
stack traceback:
[C]: in function 'require'
/home/fit/torch/pkg/torch/TensorMath.lua:3: in main chunk
[C]: ?
make[2]: *** [TensorMath.c] Error 1
make[1]: *** [CMakeFiles/torch.dir/all] Error 2
make: *** [all]
Error 2
Error: Build error: Failed building.
[AskUbuntu] (https://askubuntu.com/)와 같은 질문입니다. – MrT