1
$ pip install flask flask-wtf wtforms
$ pip install -e ./
그러나, 나는 ImportError를 가지고 : 없음 모듈 이름 flask.ext합니다.
$ python bin/runserver.py
Traceback (most recent call last):
File "bin/runserver.py", line 2, in <module>
from fjae import run_dev_server
File "/home/mic/tmp/flask-jquery-ajax-example/fjae/__init__.py", line 3, in <module>
from fjae import views
File "/home/mic/tmp/flask-jquery-ajax-example/fjae/views.py", line 6, in <module>
from fjae.forms import VehicleForm
File "/home/mic/tmp/flask-jquery-ajax-example/fjae/forms.py", line 1, in <module>
from flask.ext.wtf import Form, SelectField
File "/home/mic/.virtualenvs/unisnp/lib/python2.7/site-packages/flask/exthook.py", line 87, in load_module
raise ImportError('No module named %s' % fullname)
ImportError: No module named flask.ext.wtf.SelectField
이 SelectField 새로운 방법으로 대체되고나요 : 스크립트를 시작하는 동안을 wtf.SelectField?