Running django in virtualenv - ImportError: No module named django.core.management?

后端 未结 8 846
情歌与酒
情歌与酒 2021-02-04 11:56

I have installed Django after activating my virtualenv but still I am getting following error

from django.core.management import execute_from_command_line
Import         


        
8条回答
  •  生来不讨喜
    2021-02-04 12:35

    You should check if django is installed Activate your environment, then run the following command to see which version is installed :

    python -c "import django; print(django.get_version())"
    

提交回复
热议问题