问题描述
- 新浪sae配置django出错 ImportError: No module named wsgi
- Traceback (most recent call last):
File ""/data1/wwwdocs/799/mdqp/1/index.wsgi"" line 2 in
from project0 import wsgi
File ""/data1/wwwdocs/799/mdqp/1/project0gi.py"" line 27 in
from django.core.wsgi import get_wsgi_application
ImportError: No module named wsgiindex.wsgi代码:
import sae
from project0 import wsgiapplication = sae.create_wsgi_app(wsgi.application)
config.yaml代码:
name: mdqp
version: 1libraries:
- name: ""django"" version: ""1.5""网上有人说是上面这段的空格格式 但是改了还是没用
解决方案
http://saebbs.com/forum.php?mod=viewthread&tid=19158
时间: 2024-10-05 08:37:30