Skip to content Skip to sidebar Skip to footer

How To Make A Pyme (python Library) Run In Python 2.4 On Windows?

I want to run this library on Python 2.4 in Windows XP. I installed the pygpgme-0.8.1.win32.exe file but got this: >>> from pyme import core Traceback (most recent call la

Solution 1:

While the pygpgme project does not clearly document it, it's clear from the error message you got that their .win32.exe was indeed compiled for Python 2.5.

To compile their code for Python 2.4 (assuming they support that release!), download their sources, unpack them, open a command window, cd to the directory you unpacked their sources in, and run python setup.py install. This will probably not work unless you have the right Microsoft C compiler installed (MSVC 6.0 if I recall correctly).

It's no doubt going to be much less trouble to download, install and use Python 2.5 for Windows (it can perfectly well coexist with your current 2.4, no need to remove that). Is that a problem?

Post a Comment for "How To Make A Pyme (python Library) Run In Python 2.4 On Windows?"