[Numpy-discussion] Numpy and debug symbols

Carl Kleffner cmkleffner at gmail.com
Thu Jul 3 07:17:31 EDT 2014


Hi,

numpy extensions are linked against python27.dll. I have no idea, if it
works to copy python27.dll side by side to python27_d.dll (I guess not).
But you can try it anyway. The clean way is to get or compile a debug numpy
version linked against python27_d.dll

Regards

Carll


2014-07-03 12:51 GMT+02:00 Pablo Pérez García <pablopg at computer.org>:

> Hello,
>
> I was able to run Dependency Walker and I noticed that in Debug mode the
> following type of libraries are not loaded:
>
> "MULTIARRAY.PYD", "UMATH.PYD"
>
> Also in debug mode Python27_D is loaded and in release mode Python27 which
> sounds good to me... but for some reason debug mode cannot load necessary
> dependencies.
>
> I attach both files.
>
> By the way, I like this community!
>
>
>
> 2014-07-03 12:33 GMT+02:00 Carl Kleffner <cmkleffner at gmail.com>:
>
> Hi,
>>
>> to trace this error, you can try to run your programm with the dependency
>> walker http://www.dependencywalker.com/ . In the menu there is a
>> profiling option. With 'Start profiling' you get messages of all accesses
>> to DLLs and Python extensions. Most likely a DLL is not found.
>> Be aware: for 64bit development you need a dedicated zip-file for the
>> dependency walker.
>>
>> Regards
>>
>> Carl
>>
>>
>> 2014-07-03 11:22 GMT+02:00 Julian Taylor <jtaylor.debian at googlemail.com>:
>>
>> On Thu, Jul 3, 2014 at 11:14 AM, Pablo Pérez García
>>> <pablopg at computer.org> wrote:
>>> > Hello, I'm a newcomer and I have a question I did not manage to solve
>>> yet, I
>>> > posted it into these two stack-overflow entries:
>>> >
>>> >
>>> http://stackoverflow.com/questions/24529811/compiling-numpy-for-windows-python-2-7-7
>>> >
>>> >
>>> http://stackoverflow.com/questions/24548485/using-numpy-on-an-embedded-python-interpreter-using-vs2008-under-windows-7
>>> >
>>>
>>> I don't know how it works on windows but on linux/mac in order to
>>> import debug builds of binary extensions you need to use debug build
>>> of python which is a different runtime. I guess on windows you either
>>> have to download a special installer with the debug build or build it
>>> yourself (configure --with-pydebug)
>>> _______________________________________________
>>> NumPy-Discussion mailing list
>>> NumPy-Discussion at scipy.org
>>> http://mail.scipy.org/mailman/listinfo/numpy-discussion
>>>
>>
>>
>> _______________________________________________
>> NumPy-Discussion mailing list
>> NumPy-Discussion at scipy.org
>> http://mail.scipy.org/mailman/listinfo/numpy-discussion
>>
>>
>
>
> --
> Pablo Pérez García
>
> _______________________________________________
> NumPy-Discussion mailing list
> NumPy-Discussion at scipy.org
> http://mail.scipy.org/mailman/listinfo/numpy-discussion
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20140703/eee9c2c5/attachment.html>


More information about the NumPy-Discussion mailing list