安装csvigo之前必须安装Torch
$ git clone https://github.com/torch/distro.git ~/torch --recursive
$ cd ~/torch
# clean old torch installation
$ ./clean.sh
# optional clean command (for older torch versions)
# curl -s https://raw.githubusercontent.com/torch/ezinstall/master/clean-old.sh | bash
# https://github.com/torch/distro : set env to use lua
#以lua53的方式安装
$ TORCH_LUA_VERSION=LUA53 ./install.sh
# 让环境变量起作用
$ source ~/.bashrc
# Important!!
$ sudo chown -R $(whoami) ~/.cache
$ luarocks install csvigo
本文介绍了如何在Lua5.3环境下安装Torch,并通过Torch安装csvigo的过程。首先使用git克隆Torch发行版,然后清理旧的Torch安装,接着设置环境变量并安装Torch。最后通过luarocks安装csvigo。
1370

被折叠的 条评论
为什么被折叠?



