Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot run setup_p2.sh script #181

Open
jbarrigapartarrieu opened this issue Nov 19, 2017 · 6 comments
Open

Cannot run setup_p2.sh script #181

jbarrigapartarrieu opened this issue Nov 19, 2017 · 6 comments

Comments

@jbarrigapartarrieu
Copy link

Hi,
Trying to configure the AWS GPU server but get the following error:
XXX-MBP:Downloads XXX$ bash setup_p2.sh
setup_p2.sh: line 7: syntax error near unexpected token newline' setup_p2.sh: line 7: '

What could this be? I just did the AWS configuration, line 7 on the script refers to us-west-2 which I set up. Many thanks in advance for all help!
J

@walterlsb
Copy link

Did you download the RAW file? View the contents of the file. If you just copy the link and wget it, you end up with HTML.

@ricardomang
Copy link

Is the file supposed to be html @walterlsb? Because I used wget with the link address, and a bunch of the htmls in the file. The size comes out to 52kb, while his is only 2kb.. I'm getting so confused :(

@walterlsb
Copy link

walterlsb commented Dec 29, 2017 via email

@ricardomang
Copy link

Nice, I just used that feature as soon as I saw your reply. I still haven't gotten it to work on my Windows 10 ASUS.. were you able to get it working rather quickly? I'm anxious to start... I just gotta figure it out I guess.

@walterlsb
Copy link

Now that you have it - look at setup_p2 and you'll see you need to download setup_instance.ssh into the same directory. Have you got it?
I confess, I had trouble with cygwin and ended up making my laptop dual boot with linux and it all just worked better.

@avvaruvenkatsai
Copy link

after downloading from ''http://files.fast.ai/files/setup_p2.sh'', i still have syntax error like '' #setup_p2.sh: line 2: syntax error near unexpected token newline' setup_p2.sh: line 2: ' ''.
i'm doing in ubuntu. can you guys please provide me suggestions and solutions.
Thanks in advance.

dineshkumarsarangapani pushed a commit to dineshkumarsarangapani/courses that referenced this issue Sep 29, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants