[SciPy-user] stats newbie question

Travis Oliphant oliphant at ee.byu.edu
Thu Mar 17 15:10:36 CST 2005


r help wrote:

>here they are:
>
>
>Python 2.3.5 (#2, Feb  9 2005, 00:38:15) 
>[GCC 3.3.5 (Debian 1:3.3.5-8)] on linux2
>Type "help", "copyright", "credits" or "license" for
>more information.
>  
>
>>>>from scipy import *
>>>>stats.lognorm.cdf(1,1)
>>>>        
>>>>
>Traceback (most recent call last):
>  File "<stdin>", line 1, in ?
>  File
>"/usr/lib/python2.3/site-packages/scipy_base/ppimport.py",
>line 303, in __getattr__
>    module = self._ppimport_importer()
>  File
>"/usr/lib/python2.3/site-packages/scipy_base/ppimport.py",
>line 273, in _ppimport_importer
>    module = __import__(name,None,None,['*'])
>  File
>"/usr/lib/python2.3/site-packages/scipy/stats/__init__.py",
>line 7, in ?
>    import pstats
>ImportError: No module named pstats
>  
>
>
>
>  
>
This looks like a package installation problem. 
Could you tell us what version of scipy you are running?

type

scipy.__version__



More information about the SciPy-user mailing list