For code/output blocks: Use ``` (aka backtick or grave accent) in a single line before and after the block. See:

error getting started

  • Hi,

    I just downloaded all the packages and followed the getting started guide, but I encountered this error right away:

    from future import (absolute_import, division, print_function,
    File "<ipython-input-6-7286cc6d5b5c>", line 1
    from future import (absolute_import, division, print_function,
    SyntaxError: unexpected EOF while parsing

    I'm using Spyder with python 2.7

    Could you please help me fix it?

  • administrators

    Nobody can help with a one liner. But the error would indicate there is nothing beyond that line in the code, hence the EOF

Log in to reply

Looks like your connection to Backtrader Community was lost, please wait while we try to reconnect.