We’ve had to come up with a slightly different install plan for Windows users of our analysis package EXAFS Neo that is built on top of xrayLarch. We recommend a slightly different route using both conda and pip. You can read through out full recommended analysis route for xrayLarch in the Prerequisites section of our readme file at: https://github.com/laumiulun/EXAFS-Neo-Public We are pretty confident that the installation method given there works for xrayLarch installation on Mac, Windows, and Linux. Jeff Jeff Terry Interim Chair, Department of Social Sciences Professor of Physics Professor of Mechanical, Materials, and Aerospace Engineering Editor, Applied Surface Science Prairie Chapter Chair, AVS Illinois Institute of Technology 3101 S. Dearborn St. Chicago IL 60616 630-252-9708 Sent from my iPhone
On Dec 15, 2021, at 2:42 AM, Mauro Rovezzi
wrote: Dear Latif, Thanks for reporting this. Unfortunately `pip` is not able to correctly install all dependencies of Larch. The way to go is to install those dependencies via `conda`.
Under Windows, this is achieved by running the script `GetLarch.bat` (https://raw.githubusercontent.com/xraypy/xraylarch/master/installers/GetLarc...). This script will download and install a minconda distribution, plus install Larch in it.
Seen you already have Anaconda installed, you could simply run the following commands from your Anaconda prompt:
conda install -yc conda-forge wxpython tomopy scipy matplotlib scikit-image scikit-learn pymatgen pycifrw pip install wxmplot wxutils lmfit asteval pyshortcuts pyfai xraylarch
If this does not work, please, let me know. I have created a related Github issue in order to avoid such troubles in the future:
https://github.com/xraypy/xraylarch/issues/333
Best, Mauro
On 2021-12-15 08:20, Latif Ullah Khan wrote:
Dear Sir Madam, I hope you are doing well, I Latif Khan, working as a beamline scientist at XAFS beamline SESAME light source. I was using LARCH on my Anaconda python environment at window PC. Now I re-install and upgrade the Anaconda to python 3.9. I am trying to install the xrayLarch from Anaconda command prompt (python 3.9), using “pip install xraylarch” . However, it is not installing and give me an following error: If you kindly help me in this regard, I will be grateful to you. Thank you in advance Best regards Latif _______________________________________________ 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