Larch install error on MacOS 12.2
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
Dear Stefan, Please, follow the installation instructions here: https://xraypy.github.io/xraylarch/installation.html If the first way (via binary installers) does not work for you, you have two options: a) make a clearer report of what is not working. "Larch didn't launch" does not help that much to understand what went wrong on your machine. You may open a shell and type "larch" or "xas_viewer" to get a more explicit error message. b) install via the second way listed in the documentation, that is via the GetLarch.sh script. Hope that this will fix your issue. Best, Mauro On 09/02/2022 09:05, Mangold, Stefan (IPS) 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
_______________________________________________ Ifeffit mailing list Ifeffit@millenia.cars.aps.anl.gov http://millenia.cars.aps.anl.gov/mailman/listinfo/ifeffit Unsubscribe: http://millenia.cars.aps.anl.gov/mailman/options/ifeffit
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)
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> 630-327-7411
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
: 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)
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> 630-327-7411
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)
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
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@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> 630-327-7411
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
Am 09.02.2022 um 22:59 schrieb Matt Newville
mailto:newville@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)
mailto:stefan.mangold@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
http://cars.uchicago.edu/> 630-327-7411
participants (3)
-
Mangold, Stefan (IPS)
-
Matt Newville
-
Mauro ROVEZZI