On Jul 3, 2008, at 6:54 PM, Michael Glassford wrote:
Michael Glassford wrote:
[snip]
If you create a new user, and attempt the command does it work?
At first I thought that it did (I created a .py file containing a single print statement and saw the output), but then I ran the same file under my normal user and saw that output too. But when I ran the unit test that I'd been using to try it before, I still saw no output from that, although it generates a lot of output when run in a Terminal window.
This fact led me to do some further experimentation. What I found out is that the "Run Script" command of the Python bundle does not display any of the script's output if the script, either directly or indirectly, imports scipy.stats.
FYI:
scipy.__version__
'0.6.0'
scipy.__numpy_version__
'1.0.4'
I have a copy of scipy 0.7.0 installed here and it is working just fine. I will uninstall it, and install scipy 0.6.0 to see if I can figure out what's going on. In the meantime, upgrading scipy might fix the issue for you.