html5的模块是什么,ImportError:没有名为html5的模块

$ git clone https://github.com/hasgeek/funnel

$ cd funnel/

$ cp instance/settings-sample.py instance/settings.py

$ echo "CACHE_TYPE='simple'" >> instance/development.py

然后我安装了以下组件:烧瓶0.10.1

烧瓶资产0.7

烧瓶邮件0.6.1

烧瓶SQLAlchemy 1.0

容量瓶8.0

皮茨2012d

UnicodeSV 0.9.4版

icalendar 3.4版

wtforms-html5 0.1.3版

alembic 0.6.3版

烧瓶迁移1.2.0

烧瓶alembic 0.1

最新的软件包来自:

然后我跑了:

^{pr2}$

我得到以下输出:Traceback (most recent call last):

File "manage.py", line 5, in

from funnel import app, models, init_for

File "/home/safiyat/Desktop/PyDev/funnel/funnel-master/funnel/__init__.py", line 35, in

from . import models, forms, views

File "/home/safiyat/Desktop/PyDev/funnel/funnel-master/funnel/forms/__init__.py", line 3, in

from .comment import *

File "/home/safiyat/Desktop/PyDev/funnel/funnel-master/funnel/forms/comment.py", line 6, in

import wtforms.fields.html5

ImportError: No module named html5

我在某个地方读到,html5小部件和字段是wtforms自1.0.5以来内置的,它们应该从wtforms本身导入。虽然我安装的wtforms是1.0.2,但我仍然收到这个错误。

为什么?有什么解决办法吗?在

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值