[Bug 397217] Re: No module named convolve
Endolith
endolith at gmail.com
Fri Jul 10 17:06:41 UTC 2009
Works fine on my Windows machine:
Python 2.6.1 (r261:67517, Dec 4 2008, 16:51:00) [MSC v.1500 32 bit (Intel)]
Type "copyright", "credits" or "license" for more information.
IPython 0.9.1 -- An enhanced Interactive Python.
? -> Introduction and overview of IPython's features.
%quickref -> Quick reference.
help -> Python's own help system.
object? -> Details about 'object'. ?object also works, ?? prints more.
In [1]: import scipy
In [2]: scipy
Out[2]: <module 'scipy' from 'C:\Python26\lib\site-packages\scipy\__init__.pyc'>
In [3]: scipy.__version__
Out[3]: '0.7.1rc3'
In [4]: from scipy.stsci.convolve import correlate2d
In [5]: correlate2d([1,2],[3,4])
Out[5]: array([[ 7., 11.]])
Does not work on https://sagenb.kaist.ac.kr:8022/, which uses Ubuntu 9.04:
sage: import scipy
sage: scipy
<module 'scipy' from '/opt/sage-4.0.2-linux-Ubuntu_9.04-i686-Linux/local/lib/python2.5/site-packages/scipy/__init__.py'>
sage: scipy.__version__
'0.7.0'
sage: from scipy.stsci.convolve import correlate2d
Traceback (most recent call last):
...
ImportError: No module named convolve
sage: from scipy.signal import correlate2d
sage: correlate2d
<function correlate2d at 0xafbe09c>
** Description changed:
Binary package hint: python-scipy
There appears to be nothing in the scipy.stsci subpackage:
+ Python 2.6.2 (release26-maint, Apr 19 2009, 01:56:41)
+ Type "copyright", "credits" or "license" for more information.
- Python 2.6.2 (release26-maint, Apr 19 2009, 01:56:41)
- Type "copyright", "credits" or "license" for more information.
+ IPython 0.9.1 -- An enhanced Interactive Python.
+ ? -> Introduction and overview of IPython's features.
+ %quickref -> Quick reference.
+ help -> Python's own help system.
+ object? -> Details about 'object'. ?object also works, ?? prints more.
- IPython 0.9.1 -- An enhanced Interactive Python.
- ? -> Introduction and overview of IPython's features.
- %quickref -> Quick reference.
- help -> Python's own help system.
- object? -> Details about 'object'. ?object also works, ?? prints more.
+ In [1]: import scipy
- In [1]: import scipy
+ In [2]: scipy.__version__
+ Out[2]: '0.7.0'
- In [2]: scipy.__version__
- Out[2]: '0.7.0'
+ In [3]: from scipy.stsci.convolve import convolve2d, correlate2d
+ ---------------------------------------------------------------------------
+ ImportError Traceback (most recent call last)
- In [3]: from scipy.stsci.convolve import convolve2d, correlate2d
- ---------------------------------------------------------------------------
- ImportError Traceback (most recent call last)
+ /home/endolith/<ipython console> in <module>()
- /home/endolith/<ipython console> in <module>()
-
- ImportError: No module named convolve
+ ImportError: No module named convolve
--
No module named convolve
https://bugs.launchpad.net/bugs/397217
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
More information about the universe-bugs
mailing list