I suggest that you cleanup any installation of torch first, using this script:
https://github.com/torch/ezinstall/raw/master/clean-old.sh
要删除旧文件。
https://github.com/torch/ezinstall/raw/master/clean-old.sh
要删除旧文件。