Issues reinstalling Larch, error creating desktop shortcut for macOS
Hi Matt, I'm having an issue with reinstalling Larch. I'm using macOS Catalina 10.15.7. I had Larch previously installed and it was working well, but found I was no longer able to open up XAS Viewer. The application would start and then quit. So, I removed Larch from my system and tried to reinstall it. I first used the mac installer but would get an error that the "Installation failed. The installer encountered an error that caused the installation to fail." I then tried the installation using the script in terminal. This appeared successful, but no desktop shortcut was created. I tried to create a desktop shortcut using larch -m but get the following error: (base) laurenpincus@lnp24mbp2020 ~ % larch -m Traceback (most recent call last): File "/Users/laurenpincus/xraylarch/bin/larch", line 5, in <module> from larch.apps import run_larch File "/Users/laurenpincus/xraylarch/lib/python3.9/site-packages/larch/__init__.py", line 52, in <module> from . import builtins File "/Users/laurenpincus/xraylarch/lib/python3.9/site-packages/larch/builtins.py", line 22, in <module> from . import io File "/Users/laurenpincus/xraylarch/lib/python3.9/site-packages/larch/io/__init__.py", line 39, in <module> from .specfile_reader import (str2rng_larch, read_specfile, open_specfile, File "/Users/laurenpincus/xraylarch/lib/python3.9/site-packages/larch/io/specfile_reader.py", line 26, in <module> from silx.io.convert import write_to_h5, _is_commonh5_group ImportError: cannot import name '_is_commonh5_group' from 'silx.io.convert' (/Users/laurenpincus/xraylarch/lib/python3.9/site-packages/silx/io/convert.py) (base) laurenpincus@lnp24mbp2020 ~ % Thanks, Lauren Lauren Pincus, PhD NSF Earth Sciences Postdoctoral Fellow Princeton University Department of Geosciences
Dear Lauren, Sorry for the trouble, this is a known bug that shows up with the upgrade to `silx==1.0.0`, a dependency of Larch. We have fixed it in the master brach of Larch on Github, as discussed here: https://github.com/xraypy/xraylarch/issues/332 The quick fix is to reinstall larch with: GetLarch.sh --devel This will install a development version that is currently equivalent to 0.9.57 but with this bug fixed. Best, Mauro On 2022-01-04 21:51, Lauren N. Pincus wrote:
Hi Matt,
I'm having an issue with reinstalling Larch. I'm using macOS Catalina 10.15.7. I had Larch previously installed and it was working well, but found I was no longer able to open up XAS Viewer. The application would start and then quit.
So, I removed Larch from my system and tried to reinstall it. I first used the mac installer but would get an error that the "Installation failed. The installer encountered an error that caused the installation to fail."
I then tried the installation using the script in terminal. This appeared successful, but no desktop shortcut was created. I tried to create a desktop shortcut using larch -m but get the following error:
(base) laurenpincus@lnp24mbp2020 ~ % larch -m
Traceback (most recent call last):
File "/Users/laurenpincus/xraylarch/bin/larch", line 5, in <module>
from larch.apps import run_larch
File "/Users/laurenpincus/xraylarch/lib/python3.9/site-packages/larch/__init__.py", line 52, in <module>
from . import builtins
File "/Users/laurenpincus/xraylarch/lib/python3.9/site-packages/larch/builtins.py", line 22, in <module>
from . import io
File "/Users/laurenpincus/xraylarch/lib/python3.9/site-packages/larch/io/__init__.py", line 39, in <module>
from .specfile_reader import (str2rng_larch, read_specfile, open_specfile,
File "/Users/laurenpincus/xraylarch/lib/python3.9/site-packages/larch/io/specfile_reader.py", line 26, in <module>
from silx.io.convert import write_to_h5, _is_commonh5_group
ImportError: cannot import name '_is_commonh5_group' from 'silx.io.convert' (/Users/laurenpincus/xraylarch/lib/python3.9/site-packages/silx/io/convert.py)
(base) laurenpincus@lnp24mbp2020 ~ %
Thanks, Lauren
Lauren Pincus, PhD NSF Earth Sciences Postdoctoral Fellow Princeton University Department of Geosciences
_______________________________________________ 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
participants (2)
-
Lauren N. Pincus
-
Mauro Rovezzi