torch / distro

Torch installation in a self-contained folder
BSD 3-Clause "New" or "Revised" License
556 stars 484 forks source link

Issue with 'bash install-deps' on Mac #267

Open nikolaskaris opened 6 years ago

nikolaskaris commented 6 years ago

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 2 years ago

I also encountered this problem when installing ubuntu. Have you solved it?