Weave inline errors further insight
![](https://secure.gravatar.com/avatar/2dcf327ab027f0f97a2536955463e23c.jpg?s=120&d=mm&r=g)
I have posted a couple questions regarding the use of weave.inline. Because I have not received any feed back I thought I might provide some more clues to the problem that I am having. As a refresher, I have the following versions installed: numpy-1.0.4.win32-py2.4.exe scipy-0.6.0.win32-py2.4.exe python-2.4.4.msi wxPython2.8-win32-unicode-2.8.6.1-py24.exe pywin32-210.win32-py2.4.exe I have also installed SDK toolkit and other related modifications (This appears to work) I also installed MinGW and this appears to work. MS XP SP2 First problem: There appears to be a problem with numpy/distutils/exec_command.py. I had to comment out lines 67-70 (there about) in order to properly assign the python executable. Once I do this I get the next error. Second problem: Will not complete the weave.inline. Example of code here: a = 1 weave.inline('printf("%d\\n",a);',['a'], verbose=2, type_converters=converters.blitz) The c++ source file is created; however, the object file is not created. This would make me think there is a problem with the comiler but I have tried both SDK and MinGW and they both cause the same error. Does anyone have thoughts on why this might be happening. I get the same problem if I insall enthought as well. I will cross-post on numpy too. Thank you for your assistance, michael (new user) ____________________________________________________________________________________ Get easy, one-click access to your favorites. Make Yahoo! your homepage. http://www.yahoo.com/r/hs
![](https://secure.gravatar.com/avatar/95198572b00e5fbcd97fb5315215bf7a.jpg?s=120&d=mm&r=g)
On Dec 2, 2007 10:15 PM, Michael ODonnell <odonnems@yahoo.com> wrote:
I have posted a couple questions regarding the use of weave.inline. Because I have not received any feed back I thought I might provide some more clues to the problem that I am having.
As a refresher, I have the following versions installed: numpy-1.0.4.win32-py2.4.exe scipy-0.6.0.win32-py2.4.exe python-2.4.4.msi wxPython2.8-win32-unicode-2.8.6.1-py24.exe pywin32-210.win32-py2.4.exe I have also installed SDK toolkit and other related modifications (This appears to work) I also installed MinGW and this appears to work. MS XP SP2
First problem: There appears to be a problem with numpy/distutils/exec_command.py. I had to comment out lines 67-70 (there about) in order to properly assign the python executable. Once I do this I get the next error.
Second problem: Will not complete the weave.inline. Example of code here: a = 1 weave.inline('printf("%d\\n",a);',['a'], verbose=2, type_converters=converters.blitz)
The c++ source file is created; however, the object file is not created. This would make me think there is a problem with the comiler but I have tried both SDK and MinGW and they both cause the same error.
Does anyone have thoughts on why this might be happening. I get the same problem if I insall enthought as well. I will cross-post on numpy too.
Thank you for your assistance, michael (new user)
________________________________ Be a better pen pal. Text or chat with friends inside Yahoo! Mail. See how. _______________________________________________ SciPy-user mailing list SciPy-user@scipy.org http://projects.scipy.org/mailman/listinfo/scipy-user
![](https://secure.gravatar.com/avatar/95198572b00e5fbcd97fb5315215bf7a.jpg?s=120&d=mm&r=g)
[ sorry for the previous empty repy. Slow javascript in gmail swallowed two clicks...] On Dec 2, 2007 10:15 PM, Michael ODonnell <odonnems@yahoo.com> wrote:
I have posted a couple questions regarding the use of weave.inline. Because I have not received any feed back I thought I might provide some more clues to the problem that I am having.
Could I please pester you to open a ticket on the weave problems you may be having, with *actual example code* that fails, including the explicit (copy/paste) error messages from the code exactly as you ran it? This will allow us to specifically address those problems, if we can reproduce them. Thanks, f
![](https://secure.gravatar.com/avatar/5c9fb379c4e97b58960d74dcbfc5dee5.jpg?s=120&d=mm&r=g)
On Sun, Dec 02, 2007 at 09:15:13PM -0800, Michael ODonnell wrote:
Second problem: Will not complete the weave.inline. Example of code here: a = 1 weave.inline('printf("%d\\n",a);',['a'], verbose=2, type_converters=converters.blitz)
The c++ source file is created; however, the object file is not created. This would make me think there is a problem with the comiler but I have tried both SDK and MinGW and they both cause the same error.
Hum. Works here (that doesn't help you sorry). That might be a platform-specific problem, in which case I am at lost. Gaël
participants (3)
-
Fernando Perez
-
Gael Varoquaux
-
Michael ODonnell