[Ifeffit] Larch install error on MacOS 12.2

Mangold, Stefan (IPS) stefan.mangold at kit.edu
Fri Feb 11 10:11:02 CST 2022


Dear Matt and Jeff


I checked again the binary installer and there is no xas_viewer in ~/xraylarch/bin/

so the installer seemed to work only partially.

all installers go through the process (binary installer and script) with telling everything is fine, no error message.

If you are clicking on the icon (XAS Viewer) after script installer succeeded just 3 bumps on the icon in the dock end no message.
all other Application in the folder work now, but not XAS Viewer

The script seemed to work,
~/xraylarch/bin/xas_viewer is created and starts up by terminal, not per clicking on the icon (also option click doesn’t, system don’t ask for access privileges).

Do you have any idea to get the XAS Viewer working? No error messages in the sys-log. Even after the starting from terminal, it doesn’t work.

best regards

Stefan


Am 10.02.2022 um 14:22 schrieb Matt Newville <newville at cars.uchicago.edu<mailto:newville at cars.uchicago.edu>>:

Hi Stefan,

I hope it's kind of obvious,  but telling us "it doesn't work" is not going to ever get a reply other than "follow the instructions and report back any errors you may get".  You have not given us any error messages.

What do you mean by 'larch -m' did not work?  Did it give any error messages?  If so, what were they?  If not, why didn't you say that?
When you installed with 'GetLarch.sh', what does the log file say about its installation?

Did you try opening a Terminal and running
     ~/xraylarch/bin/xas_viewer

? If so, what does that report?

On Thu, Feb 10, 2022, 4:26 AM Mangold, Stefan (IPS) <stefan.mangold at kit.edu<mailto:stefan.mangold at kit.edu>> wrote:
Dear Matt,

sorry for the delayed feedback, my time for testing is pretty limited.

1. tried to start the old installation, but XAS viewer didn’t start
2. installed binary installer and tried to create new ICONs, didn’t work (used all command described on the webpage)
3. Install via script on the web page, installer said everything fine, start-up icons (XAS-viewer) created, but they didn’t start up.

so next thing I will do is to install anaconda again, and try it via the instruction Jeff Terry pointed to

——

    # Create new environment
    conda config --add channels conda-forge
    conda create -n exafs python=3.7
    conda activate exafs

    # Install Conda Dependencies
    conda install -y "numpy=>1.20" "scipy=>1.5" "matplotlib=>3.0" scikit-learn pandas
    conda install -y pyparsing pytest pytest-cov coverage
    conda install -y h5py pillow  sqlalchemy psutil pyyaml
    conda install -y psycopg2-binary numdifftools emcee
    conda install -y wxpython
    conda install -y pymatgen
    conda install -y cython

    # Install lmfits and Xraylarch using Pip
    pip install lmfit peakutils pyepics pyshortcuts termcolor sphinx dill pycifrw xraydb wxmplot wxutils
    pip install xraylarch

larch -m


----


more testing probably this evening …

best regards

Stefan Mangold


> Am 09.02.2022 um 22:59 schrieb Matt Newville <newville at cars.uchicago.edu<mailto:newville at cars.uchicago.edu>>:
>
> Hi Stefan,
>
> Sorry for the trouble.  I would definitely recommend deleting and starting over with the binary installer.  If you run into trouble with that, running the "GetLarch.sh" in a Terminal would probably be the most helpful, as it will create a log file that might have some clues about what went wrong.  And, like Jeff said, if you don't get the Larch folder of Apps, typing
>    ~/xraylarch/bin/larch -m
>
> in a Terminal should remake those.



>
>
> On Wed, Feb 9, 2022 at 2:05 AM Mangold, Stefan (IPS) <stefan.mangold at kit.edu<mailto:stefan.mangold at kit.edu>> wrote:
> Dear all,
>
> I upgraded a machine to 12.2 (MacPro), Larch was installed via binary installer. Afterwards Larch didn’t launch. I did a re-install with the binary installer and this didn’t work, because already installed. deleted it, but this also didn’t work
>
> tried
>
> pip install xraylarch
>
> stopped
> with
> ERROR: Failed building wheel for fabio
> Failed to build fabio
>
> also no director with XAS viewer created.
>
>
> best regards
>
> Stefan Mangold
>
>
> --
> --Matt Newville <newville at cars.uchicago.edu<http://cars.uchicago.edu/>> 630-327-7411


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://millenia.cars.aps.anl.gov/pipermail/ifeffit/attachments/20220211/293296c4/attachment.htm>


More information about the Ifeffit mailing list