[New-bugs-announce] [issue12033] AttributeError: 'module' object has no attribute 'scipy'

Alex Lai report at bugs.python.org
Sun May 8 19:17:04 CEST 2011


New submission from Alex Lai <alex_lai at scotiacapital.com>:

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

----------
components: Tests
messages: 135533
nosy: alex_lai
priority: normal
severity: normal
status: open
title: AttributeError: 'module' object has no attribute 'scipy'
type: behavior
versions: Python 3.1

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue12033>
_______________________________________


More information about the New-bugs-announce mailing list