Re: SystemError: _PyImport_FixupExtension: module _types not loaded

2007-02-15 Thread usenet1
After installing activestate python 2.4 and ctypes-1.0.1.win32- py2.4.exe, everything just worked. So, I decided to stay with 2.4 since I don't have time to figure out the problem. Steve -- http://mail.python.org/mailman/listinfo/python-list

Re: SystemError: _PyImport_FixupExtension: module _types not loaded

2007-02-15 Thread usenet1
> "works" in the sense that it prints something; but sys.path is incomplete, > it lacks site-packages and others (they are added by site.py). > It appears that you have installed Python on C:\Python25 and you build > your application executable into c:\temp\pytest\Debug - is that true? > Hmmm,

Re: SystemError: _PyImport_FixupExtension: module _types not loaded

2007-02-15 Thread usenet1
On Feb 12, 2:25 pm, "Gabriel Genellina" <[EMAIL PROTECTED]> wrote: > En Mon, 12 Feb 2007 15:44:36 -0300, <[EMAIL PROTECTED]> escribió: > > > I'm trying to write some "C" code that will run a python script that > > can in turn call some "C" functions. However I'm having a problem > > getting starte

SystemError: _PyImport_FixupExtension: module _types not loaded

2007-02-12 Thread usenet1
I'm a newbie with hopefully an easy question. I'm trying to write some "C" code that will run a python script that can in turn call some "C" functions. However I'm having a problem getting started because although I can run a script from the python ide that imports ctypes, when I execute that 'im