dashboard
dashboard copied to clipboard
Python 2.6 Running failed
system: CentOS release 6.3 (Final) python: Python 2.6.6 file: ./env/lib/python2.6/site-packages/babel/plural.py error: used_tags = rule.tags | {_fallback_tag} SyntaxError: invalid syntax
Traceback (most recent call last):
File "wsgi.py", line 28, in
File "/root/dashboard/env/lib/python2.6/site-packages/babel/core.py", line 16, in
SyntaxError: invalid syntax
I occured the same problem. How to solve it ? QAQ
This is because Babel (the Python Internationalization Library) no longer supports Python 2.6, because Python 2.6 has been EOL and unsupported by the core Python team for over five years (since 2013-10-29).
You could try installing an old version of Babel (eg. pip install "babel<2.6.0") but you're better off upgrading to Python 2.7 (EOL 2020-01-01), or better, Python 3.