[Ifeffit] Larch 0.9.17 available for download and testing

Yu-Sheng Chen yschen at cars.uchicago.edu
Tue Jan 8 17:21:54 CST 2013


Hello Mark.

I think you got 3 shifts this coming run.

Yu-Sheng

****************************************
Yu-Sheng Chen, Ph.D.
Center for Advanced Radiation Sources
The University of Chicago c/o APS/ANL
9700 S. Cass Ave.
Bldg. 434 D
Argonne, IL 60439
USA
Tel:  +1 630-252-0471
Fax: +1 630-252-0460
EMail: yschen at cars.uchicago.edu 


-----Original Message-----
From: ifeffit-bounces at millenia.cars.aps.anl.gov [mailto:ifeffit-bounces at millenia.cars.aps.anl.gov] On Behalf Of Matt Newville
Sent: Tuesday, January 08, 2013 4:07 PM
To: XAFS Analysis using Ifeffit
Subject: Re: [Ifeffit] Larch 0.9.17 available for download and testing

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 <bravel at bnl.gov> wrote:
>
> 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 at 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 at 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 at 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 at millenia.cars.aps.anl.gov
> http://millenia.cars.aps.anl.gov/mailman/listinfo/ifeffit
>
_______________________________________________
Ifeffit mailing list
Ifeffit at millenia.cars.aps.anl.gov
http://millenia.cars.aps.anl.gov/mailman/listinfo/ifeffit




More information about the Ifeffit mailing list