Hi Bruce,
Again, sorry (ever so slightly -- the skiing was great!!) for the
delay. I think (not 100% sure) I understand have solved the trouble
with wxmplot on ubuntu.
On an ubuntu 12.04 system (that had been upgraded a few times, and is
begging to be updated to 12.10), I saw that importing wxmplot raised
an error because maplotlib requires wx version 2.8 or greater but a
regular old "import wx" was using the antique wx 2.6 series. I would
be tempted to say that ubuntu is acting strangely by assuming "import
wx" means "oldest possible version of a library", but I'm sure fixing
at my end is easier than fixing all installed Ubuntu systems.
I've updated wxmplot to version 0.9.11, which now correctly requires
wx 2.8 or higher. You should be able to now do easy_install or
install with 'python setup.py install' from the wxmplot-0.9.11 source
kit linked at http://newville.github.com/wxmplot/installation.html
I also had to make sure that larch was insisting that wx 2.8 or higher
was being used. These changes are now pushed into the github
distribution.
With these changes, I could successfully install wxmplot and larch on
an Ubuntu. I think that must be the same problem you were seeing,
but I'd be happy to hear your experience.
--Matt
On Wed, Jan 2, 2013 at 1:51 PM, Bruce Ravel
Matt,
I am having some troubles getting Larch installed on one of my Ubuntu machines. "sudo python setup.py install" complains about wxmplot being missing. OK, I did
bruce@lachesis [xraylarch] > sudo -E easy_install wxmplot sudo: unable to resolve host lachesis.bnl.gov Searching for wxmplot Best match: wxmplot 0.9.10 Processing wxmplot-0.9.10-py2.7.egg wxmplot 0.9.10 is already the active version in easy-install.pth
Using /usr/local/lib/python2.7/dist-packages/wxmplot-0.9.10-py2.7.egg Processing dependencies for wxmplot Finished processing dependencies for wxmplot
and tried again.
bruce@lachesis [xraylarch] > sudo python setup.py install sudo: unable to resolve host lachesis.bnl.gov Checking dependencies.... == Cannot Install Larch: Required Modules are Missing == wxmplot is REQUIRED
Please read INSTALL for further information.
OK. I cloned a copy of wxmplot from your github repo and installed it by hand with no problem. However, same result when trying to setup xraylarch.
Any advice?
Thx, B
--
Bruce Ravel ------------------------------------ bravel@bnl.gov
National Institute of Standards and Technology Synchrotron Methods Group at NSLS --- Beamlines U7A, X24A, X23A2 Building 535A Upton NY, 11973
Homepage: http://xafs.org/BruceRavel Software: https://github.com/bruceravel _______________________________________________ Ifeffit mailing list Ifeffit@millenia.cars.aps.anl.gov http://millenia.cars.aps.anl.gov/mailman/listinfo/ifeffit