python - ubuntu flask问题
PHP中文网
PHP中文网 2017-04-17 17:38:20
0
4
998

这问题是怎么回事,安装了flask了。

PHP中文网
PHP中文网

认证高级PHP讲师

reply all(4)
Peter_Zhu

sudo apt-get install python-flask

Peter_Zhu

It seems that the werkzeug exception module required by flask is not installed. I installed it using pip and there were no dependency problems.

左手右手慢动作

werkzeug is a very important part of flask. It is usually installed when flask is installed. If you are installing flask with pip now, try sudo apt-get install python-flask

迷茫

There is a flask folder in the hello.py file directory. When importing the package, python will first look for it in the execution environment directory and then disappear.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!