[SciPy-dev] NameError: name 'pi' is not defined

Nils Wagner nwagner at mecha.uni-stuttgart.de
Fri Oct 14 09:33:43 CDT 2005


>>> import scipy.stats
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
  File "/usr/local/lib/python2.4/site-packages/scipy/stats/__init__.py",
line 7, in ?
    from stats import *
  File "/usr/local/lib/python2.4/site-packages/scipy/stats/stats.py",
line 1503, in ?
    import distributions
  File
"/usr/local/lib/python2.4/site-packages/scipy/stats/distributions.py",
line 845, in ?
    anglit = anglit_gen(a=-pi/4,b=pi/4,name='anglit', extradoc="""
NameError: name 'pi' is not defined

 





More information about the Scipy-dev mailing list