From: Kaushik G. <Kau...@hm...> - 2010-12-07 00:45:15
|
Wait, wait I see a related topic from a guy running windows. I haven't upgraded my Numpy (which is at 1.3.0) Let me see if that changes anything.... On 12/6/10 7:39 PM, mat...@li... wrote: > > Message: 1 > Date: Mon, 6 Dec 2010 19:39:47 -0500 > From: Kaushik Ghose<Kau...@hm...> > Subject: [Matplotlib-users] Bus error on import - Mac OS X (10.5.8) > Matplotlib 1.0.0 > To: "mat...@li..." > <mat...@li...> > Message-ID:<4CF...@hm...> > Content-Type: text/plain; charset="UTF-8"; format=flowed > > Hi Guys, > > I did a search on the mailing list but could not come up with a solution, so I > am crying "Uncle" and writing. > > I installed matplotlib 1.0.0 from the package on SF > (http://sourceforge.net/projects/matplotlib/files/matplotlib/matplotlib-1.0/matplotlib-1.0.0-python.org-py2.6-macosx10.4.dmg/download) > > I assumed that 10.4 would work on my 10.5 - perhaps that is where I went wrong? > > I installed it and got, satisfactorily: > > import matplotlib > matplotlib.__version__ > ---> '1.0.0' > > But when I do > > import pylab > > I get a bus error that throws me out of ipython. > > The trace is given below > > If anyone can direct me towards the right direction, I would be vary happy! > > Thanks > -Kaushik > |
From: Christopher B. <Chr...@no...> - 2010-12-07 21:00:41
|
Note: try not to reply to the digest -- it makes it harder to follow the thread. On 12/6/10 4:55 PM, Kaushik Ghose wrote: > Yep, sorry for bothering you guys. I installed NumPy 1.5.1 and everything is > fine. I'm looking forward to using the 3D plotting capabilities. Once again, > thanks to the whole team for moving forward on this. (perhaps, inorder to make > it proof against fools like me, perhaps a dependency check during the import, > requiring a minimum version of numpy would be possible ... ?) Yes, that would be a good idea. The trick is that MPL is probably compatible with older versions of numpy at the source level, but this binary was built against a particular version of numpy. So the binary builder would need to specify the required numpy version somehow. Also, numpy tries to be binary compatible across some versions, to there would be more than one that a given MPL build could work with. It would be nice if the numpy version required could be made clear in the download -- but that's a long file name already! -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/OR&R (206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax Seattle, WA 98115 (206) 526-6317 main reception Chr...@no... |
From: Kaushik G. <Kau...@hm...> - 2010-12-07 00:55:56
|
Yep, sorry for bothering you guys. I installed NumPy 1.5.1 and everything is fine. I'm looking forward to using the 3D plotting capabilities. Once again, thanks to the whole team for moving forward on this. (perhaps, inorder to make it proof against fools like me, perhaps a dependency check during the import, requiring a minimum version of numpy would be possible ... ?) Best -Kaushik On 12/6/10 7:45 PM, Kaushik Ghose wrote: > Wait, wait I see a related topic from a guy running windows. I haven't upgraded > my Numpy (which is at 1.3.0) Let me see if that changes anything.... > > On 12/6/10 7:39 PM, mat...@li... wrote: > >> >> Message: 1 >> Date: Mon, 6 Dec 2010 19:39:47 -0500 >> From: Kaushik Ghose<Kau...@hm...> >> Subject: [Matplotlib-users] Bus error on import - Mac OS X (10.5.8) >> Matplotlib 1.0.0 >> To: "mat...@li..." >> <mat...@li...> >> Message-ID:<4CF...@hm...> >> Content-Type: text/plain; charset="UTF-8"; format=flowed >> >> Hi Guys, >> >> I did a search on the mailing list but could not come up with a solution, so I >> am crying "Uncle" and writing. >> >> I installed matplotlib 1.0.0 from the package on SF >> (http://sourceforge.net/projects/matplotlib/files/matplotlib/matplotlib-1.0/matplotlib-1.0.0-python.org-py2.6-macosx10.4.dmg/download) >> >> I assumed that 10.4 would work on my 10.5 - perhaps that is where I went wrong? >> >> I installed it and got, satisfactorily: >> >> import matplotlib >> matplotlib.__version__ >> ---> '1.0.0' >> >> But when I do >> >> import pylab >> >> I get a bus error that throws me out of ipython. >> >> The trace is given below >> >> If anyone can direct me towards the right direction, I would be vary happy! >> >> Thanks >> -Kaushik >> |