[SciPy-user] stats newbie question

r help r_hlp at yahoo.com
Thu Mar 17 15:57:17 EST 2005


hi

> In [1]: from scipy import *
> In [2]: stats.lognorm.cdf(1,1)
> Out[2]: NumPy array, format: long
> 0.5

thanks for the suggestion, here are the errors i get
when i type in the suggestion.  note that i installed
scipy using a debian package; does this mean the
problem lies in the debian scipy package?

thanks for any further help
-gong


> What errors?

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
>>> 




		
__________________________________ 
Do you Yahoo!? 
Take Yahoo! Mail with you! Get it on your mobile phone. 
http://mobile.yahoo.com/maildemo 




More information about the SciPy-User mailing list