Re: DLLs loading in interpreter but not with direct run on Windows

2010-04-26 Thread JTimoty
Sorry guys, the problem seems to be less general. Actually, the error is triggered when I try to import numpy before PyQt4. It imports without any problems after PyQt4. I still don't know what the problem actually is, but at least my scripts work. Thanks, Tim. --

Re: DLLs loading in interpreter but not with direct run on Windows

2010-04-24 Thread Michel Claveau - MVP
Hi! AMHA (IMO), it is PyQT4 who change the DLL loader... @+ -- MCI -- http://mail.python.org/mailman/listinfo/python-list

Re: DLLs loading in interpreter but not with direct run on Windows

2010-04-24 Thread TerryP
On Apr 23, 4:47 pm, JTimoty jtim...@gmail.com wrote: Hi, I've got a weird problem, apparently related to the way python searches for DLLs on Windows. I compiled PyQt4 (no errors) but scripts that use it fail with DLL load failed: Invalid access to memory location. If I play with loading

DLLs loading in interpreter but not with direct run on Windows

2010-04-23 Thread JTimoty
Hi, I've got a weird problem, apparently related to the way python searches for DLLs on Windows. I compiled PyQt4 (no errors) but scripts that use it fail with DLL load failed: Invalid access to memory location. If I play with loading the modules inside the interpreter, I see no errors. Even