[Scipy-tickets] [SciPy] #586: ImportError: cannot import name _bspline

SciPy scipy-tickets@scipy....
Mon Jan 14 13:01:53 CST 2008


#586: ImportError: cannot import name _bspline
-------------------------+--------------------------------------------------
 Reporter:  nils         |       Owner:  somebody
     Type:  defect       |      Status:  new     
 Priority:  normal       |   Milestone:  0.7     
Component:  scipy.stats  |     Version:  devel   
 Severity:  normal       |    Keywords:          
-------------------------+--------------------------------------------------
 scipy.test('bench') yields
 {{{
 ======================================================================
 ERROR: Failure: ImportError (cannot import name _bspline)
 ----------------------------------------------------------------------
 Traceback (most recent call last):
   File "/usr/local/lib64/python2.5/site-
 packages/nose-0.10.1-py2.5.egg/nose/loader.py", line 364, in
 loadTestsFromName
     addr.filename, addr.module)
   File "/usr/local/lib64/python2.5/site-
 packages/nose-0.10.1-py2.5.egg/nose/importer.py", line 39, in
 importFromPath
     return self.importFromDir(dir_path, fqname)
   File "/usr/local/lib64/python2.5/site-
 packages/nose-0.10.1-py2.5.egg/nose/importer.py", line 84, in
 importFromDir
     mod = load_module(part_fqname, fh, filename, desc)
   File "/usr/local/lib64/python2.5/site-
 packages/scipy/stats/models/tests/test_bspline.py", line 9, in <module>
     import scipy.stats.models.bspline as B
   File "/usr/local/lib64/python2.5/site-
 packages/scipy/stats/models/bspline.py", line 23, in <module>
     from scipy.stats.models import _bspline
 ImportError: cannot import name _bspline
 }}}

-- 
Ticket URL: <http://www.scipy.org/scipy/scipy/ticket/586>
SciPy <http://www.scipy.org/>
SciPy is open-source software for mathematics, science, and engineering.


More information about the Scipy-tickets mailing list