[TxMt] Re: PyMate broken

Michael Glassford glassfordm at gmail.com
Thu Jul 3 20:21:06 UTC 2008


Now:

 >>> numpy.__version__
'1.2.0.dev5346'
 >>> scipy.__version__
'0.7.0.dev4527'

But the output still doesn't work.

Note that importing scipy doesn't cause problems, but importing 
scipy.stats does. If I "Run Script" this script:

> import numpy
> print numpy.__version__
> 
> import scipy
> print scipy.__version__
> 
> import scipy.stats
> print 'Done'

I see this output:

> 1.2.0.dev5346
> 0.7.0.dev4527

But if I "Run Script (Terminal)", I see this:

> 1.2.0.dev5346
> 0.7.0.dev4527
> Done


Mike



Alex Ross wrote:
> 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.
> 
> _______________________________________________
> textmate mailing list
> textmate at lists.macromates.com
> http://lists.macromates.com/listinfo/textmate
> 




More information about the textmate mailing list