[Pyrex] Runtime Library Error
Lenard Lindstrom
len-l at telus.net
Fri Jan 16 19:05:34 CET 2009
Python 2.4.3 and VC 2008 will not work together. Either upgrade to
Python 2.6, find a copy of Visual C Toolkit 2003 - VCToolkitSetup.exe -
(not easy), or install MinGW.
Lenard
Navid Parvini wrote:
> Hi,
>
> Thanks a lot for your E-mail.
>
> I'm using Python 2.4.3 and Visual Studio C++ 2008.
>
> Thanks.
> Navid
>
> --- On *Wed, 1/14/09, Lenard Lindstrom /<len-l at telus.net>/* wrote:
>
> From: Lenard Lindstrom <len-l at telus.net>
> Subject: Re: [Pyrex] Runtime Library Error
> To: "Pyrex ML" <pyrex at lists.copyleft.no>
> Date: Wednesday, January 14, 2009, 11:43 PM
>
> Hi again,
>
> Which version of Python and VC compiler are you using. There are
> difficulties with Python 2.6 and this looks like a Windows
> assembly/manifest file problem.
>
> Lenard
>
>
> Navid Parvini wrote:
> >
> > Dear All,
> >
> >
> >
> > I have run the “Setup.py” file in “Pyrex-0.9.8.2\Demos”
> folder, the
> > “primes.c”, “primes.pyd”, “primes.pyd.manifest”, etc. files
> had been
> > created.
> >
> >
> >
> > But when I run the “run_primes.py” module I got the following error:
> >
> >
> >
> > Traceback (most recent call last):
> >
> > File "run_primes.py", line 2, in ?
> >
> > from primes import primes
> >
> > ImportError: DLL load failed: A dynamic link library (DLL)
> > initialization routin
> >
> > e failed.
> >
> >
> >
> > Also an error message popped up that was related to “Microsoft Visual
> > C++ Runtime Library”. Please see the attached file.
> >
> >
> >
> > Would you please help me? Also how can I created primes.dll file?
> >
> >
> >
> > Thank you in advance.
> >
> >
> >
> >
>
--
Lenard Lindstrom
<len-l at telus.net>
More information about the Pyrex
mailing list