If I remember well you don't have to import in your code anything the 
framework do that.

If you would like to test that python can do it just try in python 
interpreter:

>>> from pyme import core, errors
>>> from pyme.constants.sig import mode
That is what web2py use.

In debian based system:

apt-get install python-pyme libgpgme11

should do the trick...

2012. április 24., kedd 6:57:48 UTC+2 időpontban weheh a következőt írta:
>
> I admit this is probably not the right forum for this question, but I'm 
> trying to get pgp working with the web2py mail package and I can't seem to 
> get gpgme or pgp installed properly on linux. When I do "from gpgme import 
> pgp" I get "ImportError: cannot import name pgp"
>
> Anybody have some suggestions for how to do a proper install?
>

Reply via email to