在安装torch7的时候,一开始一直参考的是官方的文档:

http://torch.ch/docs/getting-started.html#_

但是无论怎么装都无法成功,主要是卡在了source那一步。

后来搜到了博客:http://blog.csdn.net/a130737/article/details/45745467的方法,非常简便。

curl -s https://raw.github.com/torch/ezinstall/master/clean-old.sh | bash
curl -s https://raw.githubusercontent.com/torch/ezinstall/master/install-all | bash  
zfydeMacBook-Pro:treelstm-master zfy$ cd
zfydeMacBook-Pro:~ zfy$ th ______ __ | Torch7
/_ __/__ ________/ / | Scientific computing for Lua.
/ / / _ \/ __/ __/ _ \ | Type ? for help
/_/ \___/_/ \__/_//_/ | https://github.com/torch
| http://torch.ch th>

注:这个方法唯一需要注意的是,在不连接VPN的情况下,可能会有下载失败的情况,多试几次就好了。

最新文章

  1. iOS 开发之路(WKWebView内嵌HTML5之图片上传) 五
  2. 微信小程序之明源商城系列-01-商城介绍及开发准备
  3. ORA-27101: shared memory realm does not exist
  4. python 2.7 简单模拟登陆网站
  5. 读Java Concurrency in Practice. 第六章.
  6. UVa1401 Remember the Word(DP+Trie树)
  7. hdu-4753-Fishhead’s Little Game-记忆化搜索
  8. iOS - 混合开发
  9. Public, Private and Protect
  10. 对象的继承关系在数据库中的实现方式和PowerDesigner设计
  11. 【推理】UVa 10771 - Barbarian tribes
  12. bash 脚本
  13. ViewPager 详解(一)---基本入门
  14. 使用View Model从表现层分离领域模型
  15. Delphi关键词
  16. Nginx+Keepalived 主备高可用 安装与配置
  17. 201521123115《Java程序设计》第2周学习总结
  18. Python序列化proto中repeated修饰的数据
  19. tensorflow models api:ValueError: Tensor conversion requested dtype string for Tensor with dtype float32: 'Tensor("arg0:0", shape=(), dtype=float32, device=/device:CPU:0)'
  20. matplot绘图

热门文章

  1. [置顶] Ubuntu 12.04中文输入法的安装
  2. [Javascript] Adding Shapes to Maps with Leaflet and GeoJSON
  3. LINUX 内核月报 taobao
  4. oracle表锁住 解锁办法
  5. NIO学习:使用Channel、Buffer写入文件
  6. Java基础知识强化之IO流笔记61:输入流 和 输出流 使用总结
  7. Java 实现折半查找
  8. 解决ubuntu16.04下的sublime text3不能使用Fcitx下的搜狗输入法的问题
  9. SVN修改已提交版本的日志
  10. Bootstrap教程