I went to the Swift github repo, clicked on Usage.md, and clicked on “Open this Swift installation notebook” (https://colab.research.google.com/github/tensorflow/swift/blob/master/notebooks/install_latest_swift.ipynb).
Installation was fine and I got the appropriate output --> using the latest version of Swift. Went back to the same github page and opened the link again and checked that Swift was running fine in the new colab notebook
I used File -> upload to load “00_load_data.ipynb” from the fastai “dev_swift” folder. Checked that runtime type was “Swift” and hardware accelerator was “GPU”.
Running the first cell generated the error:
Kernel is in a bad state. Try restarting the kernel. Exception in `_process_installs`: [Errno 17] File exists: '/content/swift-install' -> '/tmp/tmpcapibpcx/swift-install'
I tried running the next notebook "00a_intro_and_float.ipynb"and received the following error running the first cell:
error: <Cell 1>:1:18: error: consecutive statements on a line must be separated by ';' %install-location $cwd/swift-install ^ ;
I didn’t expect the second notebook to run properly since I hadn’t been able to get the load_data notebook to run, but I thought it was an interesting error in the first cell. What are the “consecutive statements” that Swift finds in the first line?