[SciPy-dev] scipy.linalg shadowed

Nils Wagner nwagner at iam.uni-stuttgart.de
Fri Oct 27 12:47:14 CDT 2006


On Fri, 27 Oct 2006 10:11:37 -0600
  Travis Oliphant <oliphant.travis at ieee.org> wrote:
> Nils Wagner wrote:
>>>   
>>>     
>>>>> import scipy
>>>>> scipy.__version__
>>>>>         
>> '0.5.2.dev2299'
>>   
>>>>> scipy.linalg.__file__
>>>>>         
>> '/usr/lib64/python2.4/site-packages/numpy/linalg/__init__.pyc'
>>   
>>>>> import numpy
>>>>> numpy.linalg.__file__
>>>>>         
>> '/usr/lib64/python2.4/site-packages/numpy/linalg/__init__.pyc'
>>   
>>>>> from scipy import *
>>>>> scipy.linalg.__file__
>>>>>         
>> '/usr/lib64/python2.4/site-packages/scipy/linalg/__init__.pyc'
>>
>>
>>   
> 
> This is odd.  Here's what I get.
> 
> 
> In [1]: import scipy
> 
> In [2]: scipy.__version__
> Out[2]: '0.5.2.dev2299'
> 
> In [3]: scipy.linalg
> Out[3]: <module 'scipy.linalg' from 
> '/usr/lib/python2.4/site-packages/scipy/linalg/__init__.pyc'>
> 
> In [4]: scipy.linalg.__file__
> Out[4]: 
>'/usr/lib/python2.4/site-packages/scipy/linalg/__init__.pyc'
> 
> 
> -Travis
> 
> 
> _______________________________________________
> Scipy-dev mailing list
> Scipy-dev at scipy.org
> http://projects.scipy.org/mailman/listinfo/scipy-dev

Hi Travis,

I have installed everything from scratch.

>>> import scipy
>>> scipy.linalg
<module 'numpy.linalg' from 
'/usr/lib/python2.4/site-packages/numpy/linalg/__init__.pyc'>
>>> scipy.__version__
'0.5.2.dev2299'

Can someone reproduce this behaviour ?

Nils


More information about the Scipy-dev mailing list