Numpy and debug symbols
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-pyth... http://stackoverflow.com/questions/24548485/using-numpy-on-an-embedded-pytho... Thank you very much in advance! -- Pablo Pérez García
On Thu, Jul 3, 2014 at 11:14 AM, Pablo Pérez García <pablopg@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-pyth...
http://stackoverflow.com/questions/24548485/using-numpy-on-an-embedded-pytho...
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)
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@googlemail.com>:
On Thu, Jul 3, 2014 at 11:14 AM, Pablo Pérez García <pablopg@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-pyth...
http://stackoverflow.com/questions/24548485/using-numpy-on-an-embedded-pytho...
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@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion
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@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@googlemail.com>:
On Thu, Jul 3, 2014 at 11:14 AM, Pablo Pérez García
<pablopg@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-pyth...
http://stackoverflow.com/questions/24548485/using-numpy-on-an-embedded-pytho...
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@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion
_______________________________________________ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion
-- Pablo Pérez García
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@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@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@googlemail.com>:
On Thu, Jul 3, 2014 at 11:14 AM, Pablo Pérez García
<pablopg@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-pyth...
http://stackoverflow.com/questions/24548485/using-numpy-on-an-embedded-pytho...
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@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion
_______________________________________________ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion
-- Pablo Pérez García
_______________________________________________ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion
participants (3)
-
Carl Kleffner -
Julian Taylor -
Pablo Pérez García