Issue with 'bash install-deps' on Mac
nikolaskaris opened this issue · 1 comments
nikolaskaris commented
Following the torch installation guidelines http://torch.ch/docs/getting-started.html#_, first step is fine executing:
git clone https://github.com/torch/distro.git ~/torch --recursive
but when I try and run:
bash install-deps
I keep getting this error:
: invalid optionne 2: set: -
set: usage: set [--abefhkmnptuvxBCHP] [-o option] [arg ...]
: command not found3:
: command not found7: {
: command not found8:
'nstall-deps: line 9: syntax error near unexpected token `{
'nstall-deps: line 9: `install_openblas() {
Unsure if it's a problem with my .bash_profile or something else.
wanglililian commented
I also encountered this problem when installing ubuntu. Have you solved it?