Probabilistic-Programming-and-Bayesian-Methods-for-Hackers icon indicating copy to clipboard operation
Probabilistic-Programming-and-Bayesian-Methods-for-Hackers copied to clipboard

Chapter 1 TF2: from __future__ imports must occur at the beginning of the file

Open Narglfrob opened this issue 3 years ago • 0 comments

When accessing Chapter 1 of the Tensorflow port here and clicking on the "Run in Google Colab" button in the top right, when I execute the first code cell (with no changes) I get the following error:

File ["<ipython-input-3-c19fbaf2048a>"](https://localhost:8080/#), line 13
    #@markdown This sets the warning status (default is `ignore`, since this notebook runs correctly)
           ^
SyntaxError: from __future__ imports must occur at the beginning of the file

Any suggestions?

Narglfrob avatar Oct 17 '22 13:10 Narglfrob