将flask部署到新浪云的问题
安装 http://www.sinacloud.com/doc/sae/python/tools.html 安装好了第三方依赖包还是出这个问题
Traceback (most recent call last):
File "/data1/www/htdocs/412/myflaskblog/1/index.wsgi", line 7, in <module>
from manage import create_app
File "/data1/www/htdocs/412/myflaskblog/1/manage.py", line 10, in <module>
app = create_app(os.getenv('FLASK_CONFIG') or 'default')
File "/data1/www/htdocs/412/myflaskblog/1/app/__init__.py", line 31, in create_app
from .main import main as main_blueprint
File "/data1/www/htdocs/412/myflaskblog/1/app/main/__init__.py", line 7, in <module>
from .import views, errors
File "/data1/www/htdocs/412/myflaskblog/1/app/main/views.py", line 7, in <module>
from .forms import NameForm, PostForm
File "/data1/www/htdocs/412/myflaskblog/1/app/main/forms.py", line 2, in <module>
from flask.ext.pagedown.fields import PageDownField
File "/data1/www/htdocs/412/myflaskblog/1/site-packages/flask/exthook.py", line 81, in load_module
reraise(exc_type, exc_value, tb.tb_next)
File "/data1/www/htdocs/412/myflaskblog/1/site-packages/flask_pagedown/fields.py", line 1, in <module>
from wtforms.fields import TextAreaField
ImportError: No module named wtforms.fields
草堂窗外日迟迟
9 years, 8 months ago