From: Stephen U. <ste...@gm...> - 2007-12-04 18:42:04
|
I'm running MacPython 2.5 on Mac OS 10.5.1 and would like to update matplotlib to 0.91.1. Im using mpl 0.90.1 from the pythonmac site now. Is it better for me to wait till a pythonmac package is availabel or are the eggs on SF good to use. I would favor the SF eggs because of ease of upgrading unless there are some OS X conflicts I'm unaware of. If I use the eggs, what's the best way to safely uninstall the pythonmac package? Just delete the relevant site-packages durectory? Thanks- -stephen |
From: Christopher B. <Chr...@no...> - 2007-12-04 19:53:54
|
Stephen Uhlhorn wrote: > I'm running MacPython 2.5 on Mac OS 10.5.1 and would like to update > matplotlib to 0.91.1. Im using mpl 0.90.1 from the pythonmac site now. > Is it better for me to wait till a pythonmac package is availabel or > are the eggs on SF good to use. I'm pretty sure the goal is that the eggs on SF are good to go. Please report it if they don't work for you. The goal behind the pythonmac packages was that they be as easy as possible to install. We started all that before eggs existed (or became common, anyway). We may just start putting eggs on pythonmac, though since nothing useful happens when you double-click on them, some newbies have gotten confused. > If I use the eggs, what's the best way to safely uninstall the > pythonmac package? Just delete the relevant site-packages durectory? That will work, though I don't think you need to uninstall it at all, unless you want to save a bit of disk space. --running off to test this myself.... -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: Russell E. O. <ro...@ce...> - 2007-12-04 22:14:25
|
In article <e59...@ma...>, "Stephen Uhlhorn" <ste...@gm...> wrote: > I'm running MacPython 2.5 on Mac OS 10.5.1 and would like to update > matplotlib to 0.91.1. Im using mpl 0.90.1 from the pythonmac site now. > Is it better for me to wait till a pythonmac package is availabel or > are the eggs on SF good to use. I would favor the SF eggs because of > ease of upgrading unless there are some OS X conflicts I'm unaware of. If you use Tcl/Tk and use a current version (instead of the ancient version that is built in) then use the packages at pythonmac. I just built 0.91.1 today and it should show up there soon. Meanwhile you can get it from here: <http://www.astro.washington.edu/rowen/pythoninstallers/> I hope that someday the official Mac egg version will work with 3rd party Tcl/Tk but no version I've tried has -- including 0.91.1. > If I use the eggs, what's the best way to safely uninstall the > pythonmac package? Just delete the relevant site-packages durectory? That's what I do, but I'm not sure it's the best way. I delete all folders whose names start with "matplotlib" (usually a folder named "matplotlib" and another named matplotlib-xxx-py2.5.egg-info) -- Russell |
From: Stephen U. <ste...@gm...> - 2007-12-05 15:08:11
|
On Dec 4, 2007 5:14 PM, Russell E. Owen <ro...@ce...> wrote: > If you use Tcl/Tk and use a current version (instead of the ancient > version that is built in) then use the packages at pythonmac. I just > built 0.91.1 today and it should show up there soon. Meanwhile you can > get it from here: > <http://www.astro.washington.edu/rowen/pythoninstallers/> > > I hope that someday the official Mac egg version will work with 3rd > party Tcl/Tk but no version I've tried has -- including 0.91.1. Does this mean that the only difference between the egg and pythonmac version is how it's linked against Tcl/Tk? Just for my edification, why can't the egg version be linked against/include a different Tcl/Tk? Thanks- -stephen |
From: Russell E O. <ro...@ce...> - 2007-12-05 17:01:28
|
At 10:08 AM -0500 2007-12-05, Stephen Uhlhorn wrote: >On Dec 4, 2007 5:14 PM, Russell E. Owen <ro...@ce...> wrote: > >> If you use Tcl/Tk and use a current version (instead of the ancient >> version that is built in) then use the packages at pythonmac. I just >> built 0.91.1 today and it should show up there soon. Meanwhile you can >> get it from here: >> <http://www.astro.washington.edu/rowen/pythoninstallers/> >> >> I hope that someday the official Mac egg version will work with 3rd >> party Tcl/Tk but no version I've tried has -- including 0.91.1. > >Does this mean that the only difference between the egg and pythonmac >version is how it's linked against Tcl/Tk? I suspect you are right. But I only build the pythonmac version, not the official version, so I don't know for sure. I build my version using: <http://www.astro.washington.edu/rowen/BuildingMatplotlibForMac.html>. I don't do anything special, but I do have a 3rd party Tcl/Tk installed before I build and that seems to make all the difference. >Just for my edification, why can't the egg version be linked >against/include a different Tcl/Tk? If you mean why can't it be built that way in the first place, I don't know. The guy who builds it apparently doesn't read this list, and I understand he's on some mailing list that I don't subscribe to. I suspect the official egg can somehow be patched, but I find it easier to just build my own and put that on pythonmac. -- Russell |
From: Charlie M. <cw...@gm...> - 2007-12-05 18:00:57
|
I primarily follow the dev list, but you've caught my eye. ;) So to be clear, you would just like me to install some other tcl/tk before I do the "official" matplotlib osx binaries. What package should I be installing and where should I get it from. As long as it still works with the bundled tck/tk I would have no problems doing this. Thanks, - Charlie On Dec 5, 2007 12:01 PM, Russell E Owen <ro...@ce...> wrote: > At 10:08 AM -0500 2007-12-05, Stephen Uhlhorn wrote: > >On Dec 4, 2007 5:14 PM, Russell E. Owen <ro...@ce...> wrote: > > > >> If you use Tcl/Tk and use a current version (instead of the ancient > >> version that is built in) then use the packages at pythonmac. I just > >> built 0.91.1 today and it should show up there soon. Meanwhile you can > >> get it from here: > >> <http://www.astro.washington.edu/rowen/pythoninstallers/> > >> > >> I hope that someday the official Mac egg version will work with 3rd > >> party Tcl/Tk but no version I've tried has -- including 0.91.1. > > > >Does this mean that the only difference between the egg and pythonmac > >version is how it's linked against Tcl/Tk? > > I suspect you are right. But I only build the pythonmac version, not > the official version, so I don't know for sure. I build my version > using: > <http://www.astro.washington.edu/rowen/BuildingMatplotlibForMac.html>. > I don't do anything special, but I do have a 3rd party Tcl/Tk > installed before I build and that seems to make all the difference. > > >Just for my edification, why can't the egg version be linked > >against/include a different Tcl/Tk? > > If you mean why can't it be built that way in the first place, I > don't know. The guy who builds it apparently doesn't read this list, > and I understand he's on some mailing list that I don't subscribe to. > > I suspect the official egg can somehow be patched, but I find it > easier to just build my own and put that on pythonmac. > > -- Russell > > > ------------------------------------------------------------------------- > SF.Net email is sponsored by: The Future of Linux Business White Paper > from Novell. From the desktop to the data center, Linux is going > mainstream. Let it simplify your IT future. > http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > |
From: Christopher B. <Chr...@no...> - 2007-12-05 18:01:49
|
Russell E Owen wrote: > At 10:08 AM -0500 2007-12-05, Stephen Uhlhorn wrote: >> Just for my edification, why can't the egg version be linked >> against/include a different Tcl/Tk? > > If you mean why can't it be built that way in the first place, I > don't know. The guy who builds it apparently doesn't read this list, Sure he does (if you mean the matplotlib list), and he did ask about it right before this release. Maybe that was asked on matplotlib-devel though (I filter them to the same place). > I suspect the official egg can somehow be patched, but I find it > easier to just build my own and put that on pythonmac. Ideally, there would be only one binary version, and it would work with either Tcl/Tk. Is that possible? or is this like the old wx situation, where it can only be run with the same version it is built against. Arrggg! I hope not. If there really do need to be two, then they should be labeled somehow, and both be up on python mac. -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: Russell E O. <ro...@ce...> - 2007-12-05 18:30:21
|
At 10:03 AM -0800 2007-12-05, Christopher Barker wrote: >Russell E Owen wrote: >>At 10:08 AM -0500 2007-12-05, Stephen Uhlhorn wrote: >>>Just for my edification, why can't the egg version be linked >>>against/include a different Tcl/Tk? >> >>If you mean why can't it be built that way in the first place, I >>don't know. The guy who builds it apparently doesn't read this list, > >Sure he does (if you mean the matplotlib list), and he did ask about >it right before this release. Maybe that was asked on >matplotlib-devel though (I filter them to the same place). It was on matploblib-devel. I'll start skimming that newsgroup. >>I suspect the official egg can somehow be patched, but I find it >>easier to just build my own and put that on pythonmac. > >Ideally, there would be only one binary version, and it would work >with either Tcl/Tk. Is that possible? or is this like the old wx >situation, where it can only be run with the same version it is >built against. Arrggg! I hope not. The version I build *can* be used with the built in Tcl/Tk. The version Charlie Moad builds cannot be used with TkAgg and a 3rd party Tcl/Tk -- it not only won't use the library, but it also acts flaky. Older versions crashed. 0.91.1 doesn't crash, but import of pylab fails with a traceback. For some reason it seems to be necessary to have a 3rd party Tcl/Tk installed when building matplotlib. It seems a shame. Tkinter in Python 2.4 was the same way, but that got fixed in Python 2.5 (I don't whether the installer got fixed or whether whoever builds Mac Python 2.5 installed a 3rd party Tcl/Tk). >If there really do need to be two, then they should be labeled >somehow, and both be up on python mac. Since there don't need to be two versions this is not necessary. However, Charlie Moad appears to be willing to start building a version that works with 3rd party Tcl/Tk. I really hope that happens. -- Russell |
From: Charlie M. <cw...@gm...> - 2007-12-05 20:22:13
|
I feel a 0.91.2 in the next few weeks, and I'll be sure to do this and send you a test build. - Charlie On Dec 5, 2007 1:30 PM, Russell E Owen <ro...@ce...> wrote: > At 10:03 AM -0800 2007-12-05, Christopher Barker wrote: > >Russell E Owen wrote: > >>At 10:08 AM -0500 2007-12-05, Stephen Uhlhorn wrote: > >>>Just for my edification, why can't the egg version be linked > >>>against/include a different Tcl/Tk? > >> > >>If you mean why can't it be built that way in the first place, I > >>don't know. The guy who builds it apparently doesn't read this list, > > > >Sure he does (if you mean the matplotlib list), and he did ask about > >it right before this release. Maybe that was asked on > >matplotlib-devel though (I filter them to the same place). > > It was on matploblib-devel. I'll start skimming that newsgroup. > > >>I suspect the official egg can somehow be patched, but I find it > >>easier to just build my own and put that on pythonmac. > > > >Ideally, there would be only one binary version, and it would work > >with either Tcl/Tk. Is that possible? or is this like the old wx > >situation, where it can only be run with the same version it is > >built against. Arrggg! I hope not. > > The version I build *can* be used with the built in Tcl/Tk. The > version Charlie Moad builds cannot be used with TkAgg and a 3rd party > Tcl/Tk -- it not only won't use the library, but it also acts flaky. > Older versions crashed. 0.91.1 doesn't crash, but import of pylab > fails with a traceback. > > For some reason it seems to be necessary to have a 3rd party Tcl/Tk > installed when building matplotlib. It seems a shame. Tkinter in > Python 2.4 was the same way, but that got fixed in Python 2.5 (I > don't whether the installer got fixed or whether whoever builds Mac > Python 2.5 installed a 3rd party Tcl/Tk). > > >If there really do need to be two, then they should be labeled > >somehow, and both be up on python mac. > > Since there don't need to be two versions this is not necessary. > > However, Charlie Moad appears to be willing to start building a > version that works with 3rd party Tcl/Tk. I really hope that happens. > > -- Russell > > ------------------------------------------------------------------------- > SF.Net email is sponsored by: The Future of Linux Business White Paper > from Novell. From the desktop to the data center, Linux is going > mainstream. Let it simplify your IT future. > http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > |