PySonar
PySonar copied to clipboard
Failed to run demo notebook
Hello there,
I run into some errors when running cells in Notebook.
File "/Users/anaconda/lib/python2.7/site-packages/phe/command_line.py", line 117 print(serialised, file=output) ^ SyntaxError: invalid syntax
Is there anyone who had similar mistake?
Not sure if I can help you out but could you please provide:
- code version (git status/git log)
- which cell in the notebook has this error
That should help us trying to reproduce :)
hey, @anoff I got this error when running the first cell, and I just check out the code yesterday, so it should be on the master branch.
Hi @kidinamoto01! I've had this error before. This is a Python versioning issue relating to the phe dependency. It doesn't stop you from installing it into python 2.7 but it doesn't seem to work unless you're using Python 3.