[Scipy-tickets] [SciPy] #1437: AttributeError: 'module' object has no attribute 'scipy'

SciPy Trac scipy-tickets@scipy....
Sun May 8 12:56:08 CDT 2011


#1437: AttributeError: 'module' object has no attribute 'scipy'
----------------------+-----------------------------------------------------
 Reporter:  alex_lai  |       Owner:  somebody
     Type:  task      |      Status:  new     
 Priority:  normal    |   Milestone:          
Component:  Other     |     Version:  0.9.0   
 Keywords:            |  
----------------------+-----------------------------------------------------
 Hi experts,
   I'm new to Python. I've just successfully compiled and installed NumPy
 and SciPy. When I run the tests, Numpy shows no issues:

 # python3 -c "import numpy; numpy.test()"
 Running unit tests for numpy
 NumPy version 1.5.1
 NumPy is installed in /usr/local/lib/python3.1/site-packages/numpy
 Python version 3.1.2 (r312:79147, Mar 23 2010, 02:42:06) [GCC 3.4.6]
 nose version 1.0.0

 ----------------------------------------------------------------------
 Ran 0 tests in 0.027s


   However, test for Scipy gave the following error:

 # python3 -c "import numpy; import scipy; numpy.scipy()"
 Traceback (most recent call last):
   File "<string>", line 1, in <module>
 AttributeError: 'module' object has no attribute 'scipy'

   Any idea what might be missing here?

 Thanks in advance,

 Alex

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


More information about the Scipy-tickets mailing list