Re: Runtime Library Error
Lenard Lindstrom <[email protected]> Fri, 16 Jan 2009 10:05:34 -0800
| Newsgroups | gmane.comp.python.pyrex |
|---|---|
| Message-ID | <[email protected]> |
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 /<[email protected]>/* wrote: > > From: Lenard Lindstrom <[email protected]> > Subject: Re: [Pyrex] Runtime Library Error > To: "Pyrex ML" <[email protected]> > 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 <[email protected]>