python_d won't load modules...
jaimewyant at my-deja.com
jaimewyant at my-deja.com
Mon Nov 13 14:59:38 EST 2000
I have compiled Python 2.0 under MSW/MSVC 6.
I have also written a python extension module in C that I would like to
debug. I use swig to wrap the module, but I can't get the module to
load with the python_d executable (cygwin, not linux):
(697) ~/code/pyext_afplib/Debug$ python_d
Adding parser accelerators ...
Done.
Python 2.0 (#8, Nov 8 2000, 15:45:11) [MSC 32 bit (Intel)] on win32
Type "copyright", "credits" or "license" for more information.
>>> import afplibc
Traceback (most recent call last):
File "<stdin>", line 1, in ?
ImportError: No module named afplibc
[4940 refs]
>>>
Now, if I run the release version of python:
(698) ~/code/pyext_afplib/Debug$ python
Python 2.0 (#8, Oct 16 2000, 17:27:58) [MSC 32 bit (Intel)] on win32
Type "copyright", "credits" or "license" for more information.
>>> import afplibc
Fatal Python error: Interpreter not initialized (version mismatch?)
(699) ~/code/pyext_afplib/Debug$
Why doesn't the debug version 'find' the dll? And is there any way to
make the release version use the debug dll?
Thanks,
Jaime Wyant
Sent via Deja.com http://www.deja.com/
Before you buy.
More information about the Python-list
mailing list