Cant runserver in pycharm all of a sudden

it is showing the following message when i try to run

"C:\Program Files (x86)\JetBrains\PyCharm 3.4.1\bin\runnerw.exe" C:\Python27\python.exe G:/project/sample3/ runserver 8000
Traceback (most recent call last):
  File "G:/project/sample3/", line 10, in <module>
  File "C:\Python27\lib\site-packages\django-1.7.1-py2.7.egg\django\core\management\", line 385, in execute_from_command_line
  File "C:\Python27\lib\site-packages\django-1.7.1-py2.7.egg\django\core\management\", line 377, in execute
  File "C:\Python27\lib\site-packages\django-1.7.1-py2.7.egg\django\core\management\", line 238, in fetch_command
    klass = load_command_class(app_name, subcommand)
  File "C:\Python27\lib\site-packages\django-1.7.1-py2.7.egg\django\core\management\", line 41, in load_command_class
    module = import_module('' % (app_name, name))
  File "C:\Python27\lib\importlib\", line 37, in import_module
  File "C:\Python27\lib\site-packages\django-1.7.1-py2.7.egg\django\contrib\staticfiles\management\commands\", line 18
    def get_handler(self, *args, use_static_handler=True, insecure_serving=False, **options):
SyntaxError: invalid syntax

Process finished with exit code 1

there is no problem at first, it happend unexpectedly....
please help....
1 comment
Comment actions Permalink
Please, try a PyCharm forum ( They are more likely to be able to help you.

Please sign in to leave a comment.