2017-12-16 8 views
0

私は、Ubuntu14.04マシンのTorch installation guideに関するインストールに関する問題に直面しています。 トーチパッケージのgitのクローン後、トーチを実行することにより、~/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. 
+0

[AskUbuntu](https://askubuntu.com/)の質問のようです。 – MrT

答えて

0

は最後に、私が見つかりました。同様の問題はhereと掲載されています。 '; /?lua;'を追加した後、 LUA_PATH変数には、その後のインストールがうまく機能します。

関連する問題