我在Mac上运行virtualenv并成功创建了一个新的MySite目录。现在我想按照其余的说明进行操作:
$ pip install -r requirements.txt
$ ./manage.py migrate
$ ./manage.py createsuperuser
$ ./manage.py runserver
我收到以下错误:
bad interpreter: No such file or directory
我检查了Django和Pillow是否正确安装。他们是。有什么想法吗?
答案 0 :(得分:1)
要在Mac上安装干净的wagtail,只需执行以下操作:
→ virtualenv-3.4 ~/installation_test # installed via sudo port install py34-virtualenv
→ source ~/installation_test/bin/activate
→ pip install wagtail
→ wagtail start my_site
→ cd my_site/
→ python manage.py migrate
→ python manage.py runserver