Django 1.5b1: executing django-admin.py causes “No module named settings” error

后端 未结 5 1486
离开以前
离开以前 2021-02-07 08:25

I\'ve recently installed Django-1.5b1. My system configuration:

  • OSX 10.8
  • Python 2.7.1
  • Virtualenv 1.7.2

When I call django-

5条回答
  •  -上瘾入骨i
    2021-02-07 08:49

    Maybe your problem is related to this: Wrong python path in script header

    If you want to do anything except creating a new django project inside your venv, you should call python manage.py (of course, whereis python should return your venv executable)

提交回复
热议问题