简体   繁体   English

ImportError:没有名为flask_wtf的模块

[英]ImportError: No module named flask_wtf

for my program I have to use wtf_forms . 对于我的程序,我必须使用wtf_forms On my computer I have no problem, but with my server it doesn't work. 在我的电脑上我没有问题,但使用我的服务器它不起作用。 I have installed (with apt-get ) python-flaskext.wtf and python-wtforms , but it seems it's not enough, and my researchs are clueless. 我已经安装了(使用apt-getpython-flaskext.wtfpython-wtforms ,但它似乎还不够,我的研究也毫无头绪。 Can you help me ? 你能帮助我吗 ?

Does: 请问:

import flask.ext.wtf

seem to resolve your issue? 似乎解决了你的问题? This works fine for me on raspbian. 这对我来说很好用于raspbian。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM