Skip to content

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

Open
@Narglfrob

Description

@Narglfrob

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions