SyntaxError: invalid token
OpenBrazil opened this issue · 2 comments
OpenBrazil commented
Running the comand line: python manage.py runserver
I got the error:
Traceback (most recent call last):
File "manage.py", line 3, in
from brigade import create_app
File "C:\dev\cfbr\brigade\brigade_init_.py", line 6, in
from sitemap import sitemap_blueprint
File "C:\Users\coders-dev\AppData\Local\Programs\Python\Python36-32\lib\site-packages\sitemap_init_.py", line 172
os.mkdir(urlset_path, 0755)
^
SyntaxError: invalid token
tdooner commented
Hello! Can you try running the site with Python 2.7 and see if that works better?
OpenBrazil commented
Great! It works! Thank you!