[ubuntu 16.04] install torch, itorch, jupyter

torch 专栏收录该内容
4 篇文章 0 订阅

[ubuntu 16.04] install torch, itorch, jupyter

install ipython

sudo apt-get update
sudo apt-get upgrade

sudo apt-get install python3-pip
sudo pip3 install –upgrade pip

sudo -H pip3 install ipython
sudo -H pip3 install ipython –upgrade

install jupyter

sudo -H pip3 install jupyter
sudo -H pip3 install jupyter –upgrade

install torch

sudo apt install git
git clone https://github.com/torch/distro.git ~/torch –recursive
cd ~/torch; bash install-deps;
./install.sh
source ~/.bashrc

install itorch

sudo apt-get install libzmq3-dev libssl-dev python3-zmq
git clone https://github.com/facebook/iTorch.git
cd iTorch/
sudo env “PATH=$PATH” luarocks make
(ignore echo “Error: could not find ipython in PATH. Do you have it installed?”)

sudo chown -R USER: USER /home/ USER/.ipythonsudochownR USER (dirname (ipython locate profile))

test

itorch notebook

  • 0
    点赞
  • 0
    评论
  • 0
    收藏
  • 一键三连
    一键三连
  • 扫一扫,分享海报

©️2021 CSDN 皮肤主题: 编程工作室 设计师:CSDN官方博客 返回首页
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、C币套餐、付费专栏及课程。

余额充值