开发者

No module named resource (installing Flask-Mail)

开发者 https://www.devze.com 2023-04-07 09:40 出处:网络
A little new to python and the wonderful world of Flask. I\'m trying to install Flask-Mail (http://packages.python.org/flask-mail/) and coming up against a bit of a wall.

A little new to python and the wonderful world of Flask.

I'm trying to install Flask-Mail (http://packages.python.org/flask-mail/) and coming up against a bit of a wall.

Using a virutalenv (on WINDOWS7) I can't g开发者_如何学Pythonet the flask-mail to install, each time I recieve 'No module named resource'.

I'm using pip to install... any ideas?


as Flask-Mail documentation says:

Flask-Mail requires the use of the Lamson library, which unfortunately has dependencies that do not work on Windows.

You can install Flask-Mail, Lamson and other libraries with the no dependencies option:

easy_install -N lamson chardet Flask-Mail

Source: http://packages.python.org/Flask-Mail/#windows-issues


I encountered this error, too. And I searched Python index found this: http://docs.python.org/2/library/resource.html , It seems that resource is platform-dependent module, and to be specific, on Unix. And also this: http://code.activestate.com/pypm/lamson/ (can not insert image here? suck!) lamson is not built on any version(32 or 64-bit) of Windows(suck, too).

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号