[matplotlib-devel] Why does numerix import numpy.oldnumeric instead of numpy?
Hi, With numpy 1.0b5 and a recent matplotlib from svn (rev 2761), and numerix set to numpy, I'm getting errors like this: Python 2.4.3 (#1, Apr 7 2006, 10:54:33) [GCC 4.0.1 (Apple Computer, Inc. build 5250)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> from pylab import * >>> eye(3) Traceback (most recent call last): File "", line 1, in ? File "/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/numpy/oldnumeric/mlab.py", line 24, in eye m = nn.equal(nn.subtract.outer(nn.arange(N), nn.arange(M)),-k) NameError: global name 'nn' is not defined Somehow numerix is getting the eye function from numpy.oldnumeric.mlab, and it's not working. Maybe this is a numpy bug, but apparently the eye function that you get from numpy does work: >>> from numpy import * >>> eye(3) array([[ 1., 0., 0.], [ 0., 1., 0.], [ 0., 0., 1.]]) >>> eye.__module__ 'numpy.lib.twodim_base' It seems that numerix is importing oldnumeric on purpose, but why is this? -- Jouni - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ Matplotlib-devel mailing list Matplotlib-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
Re: [matplotlib-devel] Why does numerix import numpy.oldnumeric instead of numpy?
On Friday 08 September 2006 10:11, Jouni K Seppanen wrote: > Hi, > > With numpy 1.0b5 and a recent matplotlib from svn (rev 2761), and > numerix set to numpy, I'm getting errors like this: > > Python 2.4.3 (#1, Apr 7 2006, 10:54:33) > [GCC 4.0.1 (Apple Computer, Inc. build 5250)] on darwin > Type "help", "copyright", "credits" or "license" for more information. > > >>> from pylab import * > >>> eye(3) > > Traceback (most recent call last): > File "", line 1, in ? > File > "/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packa >ges/numpy/oldnumeric/mlab.py", line 24, in eye m = > nn.equal(nn.subtract.outer(nn.arange(N), nn.arange(M)),-k) NameError: > global name 'nn' is not defined > > Somehow numerix is getting the eye function from > numpy.oldnumeric.mlab, and it's not working. Maybe this is a numpy > bug, It is a numpy bug. > but apparently the eye function that you get from numpy does > > work: > >>> from numpy import * > >>> eye(3) > > array([[ 1., 0., 0.], >[ 0., 1., 0.], >[ 0., 0., 1.]]) > > >>> eye.__module__ > > 'numpy.lib.twodim_base' > > It seems that numerix is importing oldnumeric on purpose, but why is > this? The eye function in oldnumeric does not work, and we import from there to allow transparent compatibility between numpy, Numeric and numarray. - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ Matplotlib-devel mailing list Matplotlib-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
Re: [matplotlib-devel] [Matplotlib-users] ANN: matplotlib-0.87.5
Charlie Moad schrieb: > Minor rev bump for numpy 1.0b5 compatibility. This release should > remain compatible with future 1.0 releases of numpy. > I keep running into the ImportError problem described on the devel list, with the win32 2.4 binary (exe). Is that still just a case of waiting for the mirrors to update, or is there a deeper problem? Are there alternative download links? How to tell whether it's the "right" binary, since version numbers are the same? Thanks for your help, Sven - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ Matplotlib-devel mailing list Matplotlib-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
Re: [matplotlib-devel] [Matplotlib-users] ANN: matplotlib-0.87.5 *fixed*
Hi list, I downloaded the latest version from the link (see under). With 0.87.3 our application worked fine, but with with 0.87.5 we get the following: Traceback (most recent call last): File "C:\Python24\PanelCheck_V.1.1.0\PanelCheck.py", line 222, in ? import PanelCheck_GUI File "C:\Python24\PanelCheck_V.1.1.0\PanelCheck_GUI.py", line 10, in ? from Line_Plot import * File "C:\Python24\PanelCheck_V.1.1.0\Line_Plot.py", line 3, in ? from Plot_Setup import * File "C:\Python24\PanelCheck_V.1.1.0\Plot_Setup.py", line 9, in ? from matplotlib.backends.backend_wxagg import FigureCanvasWxAgg as FigureCanvas File "C:\Python24\Lib\site-packages\matplotlib\backends\backend_wxagg.py", line 21, in ? from matplotlib.figure import Figure File "C:\Python24\Lib\site-packages\matplotlib\figure.py", line 5, in ? from artist import Artist File "C:\Python24\Lib\site-packages\matplotlib\artist.py", line 4, in ? from transforms import identity_transform File "C:\Python24\Lib\site-packages\matplotlib\transforms.py", line 223, in ? from _transforms import Value, Point, Interval, Bbox, Affine File "C:\Python24\Lib\site-packages\matplotlib\_transforms.py", line 1, in ? import sys, numerix File "C:\Python24\Lib\site-packages\matplotlib\numerix\__init__.py", line 145, in ? __import__('fft', g, l) File "C:\Python24\Lib\site-packages\matplotlib\numerix\fft\__init__.py", line 11, in ? from numpy.dft.old import * ImportError: No module named old Thanks Oliver [EMAIL PROTECTED] wrote on 06.09.2006 21:20:39: > Sorry all for the error. I just uploaded "working" (at least for me) > versions to sourceforge again. For those who are sicking of playing > with mirrors here is a direct download. Don't expect this link to be > good for a long time though. > > http://euclid.uits.iupui.edu/mplfiles/ > > - Charlie > > On 9/6/06, Charlie Moad <[EMAIL PROTECTED]> wrote: > > The source error must of propagated to those builds. I will post new > > ones shortly. > > > > On 9/6/06, Sven Schreiber <[EMAIL PROTECTED]> wrote: > > > Well the thread on the devel list that I referred to explicitly has the > > > win32 exe in its title ("Missing __init__.py in > > > matplotlib-0.87.5.win32-py2.4.exe ?") . The starting post there pretty > > > much says it all. > > > > > > There's also a recent post on the numpy list that sounds like it's maybe > > > the same problem (quote): > > > """ > > > Is there a compatible matplotlib as well? I was o.k. with mpl from > > > enthought until I switched numerix to numpy. That made mpl unhappy. > > > I downloaded 0.87.5 but I broke something in the process because now > > > even switching back to Numeric doesn't make mpl happy. > > > """ > > > > > > Thanks, > > > Sven > > > > > > Charlie Moad schrieb: > > > > That error was relating to the source release. Can you please post > > > > your error for the binary? > > > > > > > > On 9/6/06, Sven Schreiber <[EMAIL PROTECTED]> wrote: > > > >> Charlie Moad schrieb: > > > >> > Minor rev bump for numpy 1.0b5 compatibility. This release should > > > >> > remain compatible with future 1.0 releases of numpy. > > > >> > > > > >> > > > >> I keep running into the ImportError problem described on the > devel list, > > > >> with the win32 2.4 binary (exe). Is that still just a case of waiting > > > >> for the mirrors to update, or is there a deeper problem? Are there > > > >> alternative download links? How to tell whether it's the > "right" binary, > > > >> since version numbers are the same? > > > >> > > > >> Thanks for your help, > > > >> Sven > > > >> > > > > > > > > > > > > > > - > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > ___ > Matplotlib-users mailing list > Matplotlib-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/matplotlib-users - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ Matplotlib-devel mailing list Matplotlib-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
Re: [matplotlib-devel] [Matplotlib-users] ANN: matplotlib-0.87.5
Well the thread on the devel list that I referred to explicitly has the win32 exe in its title ("Missing __init__.py in matplotlib-0.87.5.win32-py2.4.exe ?") . The starting post there pretty much says it all. There's also a recent post on the numpy list that sounds like it's maybe the same problem (quote): """ Is there a compatible matplotlib as well? I was o.k. with mpl from enthought until I switched numerix to numpy. That made mpl unhappy. I downloaded 0.87.5 but I broke something in the process because now even switching back to Numeric doesn't make mpl happy. """ Thanks, Sven Charlie Moad schrieb: > That error was relating to the source release. Can you please post > your error for the binary? > > On 9/6/06, Sven Schreiber <[EMAIL PROTECTED]> wrote: >> Charlie Moad schrieb: >> > Minor rev bump for numpy 1.0b5 compatibility. This release should >> > remain compatible with future 1.0 releases of numpy. >> > >> >> I keep running into the ImportError problem described on the devel list, >> with the win32 2.4 binary (exe). Is that still just a case of waiting >> for the mirrors to update, or is there a deeper problem? Are there >> alternative download links? How to tell whether it's the "right" binary, >> since version numbers are the same? >> >> Thanks for your help, >> Sven >> > - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ Matplotlib-devel mailing list Matplotlib-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
Re: [matplotlib-devel] [Matplotlib-users] ANN: matplotlib-0.87.5 *fixed*
Thanks alot, everything seems to be ok now! (with numpy 1.0b5) -sven Charlie Moad schrieb: > Sorry all for the error. I just uploaded "working" (at least for me) > versions to sourceforge again. For those who are sicking of playing > with mirrors here is a direct download. Don't expect this link to be > good for a long time though. > > http://euclid.uits.iupui.edu/mplfiles/ > > - Charlie > > On 9/6/06, Charlie Moad <[EMAIL PROTECTED]> wrote: >> The source error must of propagated to those builds. I will post new >> ones shortly. >> >> On 9/6/06, Sven Schreiber <[EMAIL PROTECTED]> wrote: >> > Well the thread on the devel list that I referred to explicitly has the >> > win32 exe in its title ("Missing __init__.py in >> > matplotlib-0.87.5.win32-py2.4.exe ?") . The starting post there pretty >> > much says it all. >> > >> > There's also a recent post on the numpy list that sounds like it's >> maybe >> > the same problem (quote): >> > """ >> > Is there a compatible matplotlib as well? I was o.k. with mpl from >> > enthought until I switched numerix to numpy. That made mpl unhappy. >> > I downloaded 0.87.5 but I broke something in the process because now >> > even switching back to Numeric doesn't make mpl happy. >> > """ >> > >> > Thanks, >> > Sven >> > >> > Charlie Moad schrieb: >> > > That error was relating to the source release. Can you please post >> > > your error for the binary? >> > > >> > > On 9/6/06, Sven Schreiber <[EMAIL PROTECTED]> wrote: >> > >> Charlie Moad schrieb: >> > >> > Minor rev bump for numpy 1.0b5 compatibility. This release should >> > >> > remain compatible with future 1.0 releases of numpy. >> > >> > >> > >> >> > >> I keep running into the ImportError problem described on the >> devel list, >> > >> with the win32 2.4 binary (exe). Is that still just a case of >> waiting >> > >> for the mirrors to update, or is there a deeper problem? Are there >> > >> alternative download links? How to tell whether it's the "right" >> binary, >> > >> since version numbers are the same? >> > >> >> > >> Thanks for your help, >> > >> Sven >> > >> >> > > >> > >> > >> > - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ Matplotlib-devel mailing list Matplotlib-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
Re: [matplotlib-devel] Why does numerix import numpy.oldnumeric instead of numpy?
On Friday 08 September 2006 10:29, Darren Dale wrote: > On Friday 08 September 2006 10:11, Jouni K Seppanen wrote: > > Hi, > > > > With numpy 1.0b5 and a recent matplotlib from svn (rev 2761), and > > numerix set to numpy, I'm getting errors like this: > > > > Python 2.4.3 (#1, Apr 7 2006, 10:54:33) > > [GCC 4.0.1 (Apple Computer, Inc. build 5250)] on darwin > > Type "help", "copyright", "credits" or "license" for more information. > > > > >>> from pylab import * > > >>> eye(3) > > > > Traceback (most recent call last): > > File "", line 1, in ? > > File > > "/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-pac > >ka ges/numpy/oldnumeric/mlab.py", line 24, in eye m = > > nn.equal(nn.subtract.outer(nn.arange(N), nn.arange(M)),-k) NameError: > > global name 'nn' is not defined > > > > Somehow numerix is getting the eye function from > > numpy.oldnumeric.mlab, and it's not working. Maybe this is a numpy > > bug, > > It is a numpy bug. And it has been fixed as of svn 3139. - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ Matplotlib-devel mailing list Matplotlib-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
Re: [matplotlib-devel] Why does numerix import numpy.oldnumeric instead of numpy?
Darren Dale wrote: > On Friday 08 September 2006 10:29, Darren Dale wrote: > >>On Friday 08 September 2006 10:11, Jouni K Seppanen wrote: >> >>>Hi, >>> >>>With numpy 1.0b5 and a recent matplotlib from svn (rev 2761), and >>>numerix set to numpy, I'm getting errors like this: >>> >>>Python 2.4.3 (#1, Apr 7 2006, 10:54:33) >>>[GCC 4.0.1 (Apple Computer, Inc. build 5250)] on darwin >>>Type "help", "copyright", "credits" or "license" for more information. >>> >>> >>from pylab import * >>eye(3) >>> >>>Traceback (most recent call last): >>> File "", line 1, in ? >>> File >>>"/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-pac >>>ka ges/numpy/oldnumeric/mlab.py", line 24, in eye m = >>>nn.equal(nn.subtract.outer(nn.arange(N), nn.arange(M)),-k) NameError: >>>global name 'nn' is not defined >>> >>>Somehow numerix is getting the eye function from >>>numpy.oldnumeric.mlab, and it's not working. Maybe this is a numpy >>>bug, >> >>It is a numpy bug. > > > And it has been fixed as of svn 3139. > I should note, that you can install SVN version of NumPy without changing matplotlib. The 0.87.5 release should work for all of the 1.0 and 1.0.X releases of NumPy -Travis - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ Matplotlib-devel mailing list Matplotlib-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-devel