No module named resource (installing Flask-Mail)

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

I am trying to install Flask-Mail (http://packages.python.org/flask-mail/) and come up with a little wall.

Using virutalenv (on WINDOWS7), I can’t install a flash drive for installation every time I get a "No module named resource".

I use pip to install ... any ideas?

+4
source share
2 answers

as the 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

+4
source

I also ran into this error. And I was looking for a Python index that found this: http://docs.python.org/2/library/resource.html . It seems that the resource is a platform-dependent module, specifically, Unix. And also this: http://code.activestate.com/pypm/lamson/ (can't paste image here! Suck!) Lamson is not built on any version (32 or 64-bit) of Windows (suck, either).

0
source

All Articles