How to solve SyntaxError on autogenerated manage.py?

前端 未结 30 2182
囚心锁ツ
囚心锁ツ 2020-11-28 08:24

I\'m following the Django tutorial https://docs.djangoproject.com/es/1.10/intro/tutorial01/

I\'ve created a \"mysite\" dummy project (my very first one) and try to

30条回答
  •  野性不改
    2020-11-28 09:05

    I was also getting the same error.

    Then I went back to the folder where the environment folder is there and I forgot to activate a Virtual environment so only I was getting this error.

    Go to that folder and activate the virtual environment.

    $ source env/bin/activate
    

提交回复
热议问题