I am struggling to get my M2Crypto installation to work
C:\Python27>python
Python 2.7.9 (default, Dec 10 2014, 12:24:55) [MSC v.1500 32 bit (Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> from M2Crypto import RSA
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "C:\Python27\lib\M2Crypto\__init__.py", line 22, in <module>
import __m2crypto
ImportError: No module named __m2crypto
>>>
Not really surprising as there is no __m2crypto module anywhere, but where should it be and where should I get it from?
I have installed M2Crypto from https://pypi.python.org/pypi/M2Crypto by downloading M2Crypto-master and copying the unziped M2Crypto folder to c:\Python27\lib
From M2Crypto I only need the RSA functionality so suggestions involving alternatives to M2Crypto would also be helpful.
Any help highly appreciated
There pretty good instruction on building M2Crypto, I've using myself, here: http://www.gooli.org/blog/building-m2crypto-on-windows/
If you still have problems with building, I'd recently compiled M2Crypto for my needs on Windows 7 x64 - Python 2.7 You can download binary here (M2Crypto-0.22.3.win32-py2.7.exe): https://drive.google.com/file/d/0ByAiJQIq8icYOUNiZEJQQzVhdVU/view?usp=sharing
Good Luck