importerror: No module named django

后端 未结 4 733
梦毁少年i
梦毁少年i 2021-01-18 09:41

I installed python 2.6 alongside my mac\'s 2.5.2 version. As soon as I did, python2.6 manage.py runserver failed because it couldn\'t find django.core.management.

Fr

4条回答
  •  情话喂你
    2021-01-18 10:18

    I use Bitnami's Django installer, and this happened for me when I wasn't in their custom shell, which I believe sets related python path environment variables. I ran ./use_djangostack in the root of the Bitnami package and then was successful running the server again.

提交回复
热议问题