verdverm / pypge

Python implementation of the PGE algorithm
MIT License
51 stars 5 forks source link

Jupyter notebook Python2/Python3 clash #2

Open arendsee opened 8 years ago

arendsee commented 8 years ago

The SimplePendulum Jupyter notebook is specified as a Python3 program, but one of its dependencies, the benchmark/diffeq.py file, appears to be written in Python2.

The first code block does not compile, giving the error message:

File "/usr/lib/python3.5/site-packages/pypge/benchmarks/diffeq.py", line 25 print e ^ SyntaxError: Missing parentheses in call to 'print'

verdverm commented 8 years ago

New instructions for running in the README.md

check the latest and let me know if this persists