C3W3 lab Bash: syntax error near unexpected token `('

Hello Learners,

bash: syntax error near unexpected token `(’

strategy = tf.distribute.experimental.MultiWorkerMirroredStrategy() while typing this in terminel got this error why this error i dont understand

Hi ksp, I ran into the same problem but manage to figure it out. If you read the instruction carefully, it asks us to view the main.py file, so 4 lines in the box are already included in the py file, so does next call back method box. we don’t have to run these 2.

If there is something you want to edit, Please use “Cloud Shell Editor” or any editor that you are familiar with. Do not use “Terminal” to edit.

Hi jimmyzhang,

I have the same problem. Could you explain more about this issue?
Thank you in advance