Sign in to follow this  

Using Python with MSVC 2005

Recommended Posts

Has anyone tried to use python with new visual studio? I compiled some of my python projects using MSVC 2005 express edition, but once I run them I get debug assertion failure in python.dll I recompiled python by myself using MSVC 2005, but this didn't help. I still get runtime errors in the pyton.dll. I know that the most common problem with python is that if you compile it against different runtime libraries than your project is compiled, it won't work. But I checked this: both python.dll and my project are compiled against Multithreaded DLL library. Everything worked fine compiled with VC 2003. Does anyone know, how to make python work fine with VC 2005 ? Visual Studio debugger gives me following message: ------------------------------- Debug assertion failed! Expression: ("Invalid signal or error", 0); ------------------------------- Here is my call stack: msvcr80d.dll!1021338b() python24_d.dll!PyOS_getsig(int sig=5) Line 1657 + 0xc bytes C python24_d.dll!initsignal() Line 345 + 0x9 bytes C python24_d.dll!PyOS_InitInterrupts() Line 642 C python24_d.dll!initsigs() Line 1591 C python24_d.dll!Py_InitializeEx(int install_sigs=1) Line 214 C python24_d.dll!Py_Initialize() Line 283 + 0x7 bytes C [Edited by - glJack on May 20, 2006 1:41:22 PM]

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this