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).
精彩评论