Torch

doc

application

install error

1
Error: could not find ipython in PATH. Do you have it installed?

解决方法:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
bash:
~/.bash_profile
~/.profile
在上面两个文件里添加
. /Users/你的用户名/torch/install/bin/torch-activate
最后终端运行
source ~/.profile
对终端bash起作用,iterm2 zsh不行。
zsh:
touch ~/.zshrc
在~/.zshrc里添加
. /Users/你的用户名/torch/install/bin/torch-activate
命令运行
source ~/.zshrc