Closed Geexirooz closed 3 years ago
I ran into this too initially.
Make sure you run python3 instead of python for the initialization and follow commands to get the server up. I would revert the change you made first as well.
Yes I should have used python3.
Thanks for your comment.
Hello there,
I tried to install Scirius on Ubuntu 18.04, everything was going well but I encountered this error message when I ran "python manage.py migrate".
_"SyntaxError: Non-ASCII character '\xe2' in file /usr/local/lib/python2.7/dist-packages/djangotables2/tables.py on line 129, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details."
After that, I put the line "# -- coding: utf8 --" at the top of the file "/usr/local/lib/python2.7/dist-packages/django_tables2/tables.py". Then, I came across new error as follows.
_File "/usr/local/lib/python2.7/dist-packages/djangotables2/tables.py", line 188 class Table(metaclass=DeclarativeColumnsMetaclass): ^ SyntaxError: invalid syntax
Could you help me to solve the issue, please?