Hi Stefan, Morgane, All,
Yeah, sorry for the trouble with this. I should admit I've had increasing
struggles over the past year or two with maintaining packages for Anaconda
Python, running into many painful claims of incompatible packages. Most
of the "core scientific python packages" are well-maintained by
Anaconda.com -- it's hard to complain about this free distribution and all
of the work that goes into it. But the "non-Anaconda-provided" packages
make Larch more complicated, and the xraylarch "conda" package is
out-of-date.
The semi-good news on this front is that almost everything, including
Larch, is actually available from the PyPI packaging system and can be
installed with "pip". Anaconda and its "conda" package-manager will
regularly say to not mix "conda" and "pip", but this mostly applies to
cases where C code is going to be compiled on installation, which we don't
do.
What I'm now doing for building the binary distributions, and what I
recommend for updating is:
1. install a basic Anaconda distribution - this can be from the Larch
binary installers.
2. install or update the Larch code with "pip install --upgrade
xraylarch".
I should probably take another look at adding xraylarch to the
large-and-diverse "conda_forge" channel for the "conda" system.
Hope that helps, and suggestions on how to handle this better would be most
welcome,
--Matt
On Fri, Mar 12, 2021 at 10:07 AM Morgane Desmau
Hello,
I already had this issue and it was related to the python version (6/7 months ago with python 3.8, and then it worked with Python 3.7, but I was thinking it was fixed since).
Best, Morgane Desmau
Le ven. 12 mars 2021 à 16:55, Mangold, Stefan (IPS) < stefan.mangold@kit.edu> a écrit :
Dear all,
I tried to reinstall; before I updated and couldn’t open larch anymore
conda install -yc GSECARS xraylarch Collecting package metadata (current_repodata.json): done Solving environment: failed with initial frozen solve. Retrying with flexible solve. Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source. Collecting package metadata (repodata.json): done Solving environment: failed with initial frozen solve. Retrying with flexible solve. Solving environment: / Found conflicts! Looking for incompatible packages. This can take several minutes. Press CTRL-C to abort. failed
UnsatisfiableError: The following specifications were found to be incompatible with each other:
_______________________________________________ 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
_______________________________________________ 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
-- --Matt Newville <newville at cars.uchicago.edu> 630-327-7411