Django - “no module named django.core.management”

前端 未结 21 1751
天涯浪人
天涯浪人 2020-12-02 11:46

I get the following error when trying to run Django from the command line.

File manage.py, line 8, in 
     from django.core.management import          


        
21条回答
  •  甜味超标
    2020-12-02 12:27

    I got the same error and I fixed it in this manner:

    I had to activate my virtual environment using the following command

    source python2.7/bin/activate
    

提交回复
热议问题