Torch Problems: require some packages doesn't work

I've recently got a problem. require 'cutorch' doesn't work. But it was ok yesterday, although I have tried to reinstall this package. It doesn't work either.

If you have the same problem, here is the solution.

1.change to you torch home directory. such as '~/torch';

2.run './update.sh';

3.run './install.sh';

4.run 'source ~/.bashrc';

 

Problem is solved!

Hope it will help you.

 

posted @ 2016-11-17 13:22  kevinTien  阅读(182)  评论(0编辑  收藏  举报