Problem cmpiling M2Crypto

Thomas G. Apostolou thomas.info at hol.gr
Fri Dec 2 05:26:04 EST 2005


"Fredrik Lundh" <fredrik at pythonware.com> wrote in message
news:dmn8p2$4b5$1 at sea.gmane.org...
> 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>

So what you say is that the Python installed with Plone doesn't have
Python.h in ./include but Python installers from Python.org do have the
file?
If yes i guess i should install the same version to the same location
(over-writing). Is that so?

Thanks again!






More information about the Python-list mailing list