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/GetLarch.bat). 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

Reply via email to