Problem cmpiling M2Crypto

Fredrik Lundh fredrik at pythonware.com
Thu Dec 1 17:35:45 CET 2005


Thomas G. Apostolou wrote:

> I still get the error:
> "SWIG/_m2crypto.c(80) : fatal error C1083: Cannot open include file:
> 'Python.h': No such file or directory
> error: command '"C:\Program Files\Microsoft Visual Studio\VC98\BIN\cl.exe"'
> failed with exit status 2"
>
> witch is -as Heikki Toivonen told- because of lack of Python.h
> I do not hane this file anywhere in my PC.
> Could anyone sujest of a package to install that contains Python.h and that
> would be of use for me later on?

most standard Python installers come with this file (it's usually in
./include relative to the installation directory).

I suggest installing a python.org release:

    http://www.python.org/

and using that to build the extensions.

(make sure you get the same version as your Plone uses)

</F>






More information about the Python-list mailing list