From future imports must happen very early in a Python script.

http://omz-forums.appspot.com/pythonista/post/6745177418891264