Re: [Ifeffit] Installing Larch without installing Anaconda
Dear Matthew, I thank you very much for your quick reply as well as this of Carlo Segre. I apologize, I did not look at the archived messages and now it is clear. I will try to install Larch as you said and keep you in touch if I have any trouble or success ! Bests, Laurent De: "Matt Newville" À: "XAFS Analysis using Ifeffit" Cc: "TRANCHANT Laurent" Envoyé: Lundi 12 Décembre 2022 19:39:21 Objet: Re: [Ifeffit] Installing Larch without installing Anaconda Hi Laurent, Hopefully, you saw the earlier replies - if not, see the archived messages at [ https://millenia.cars.aps.anl.gov/pipermail/ifeffit/2022-November/thread.html | https://millenia.cars.aps.anl.gov/pipermail/ifeffit/2022-November/thread.html ] The basic answer is that you do not need to use Anaconda to run Larch on macOS. There is a MacPorts port available, for example. In fact, Larch is distributed with PyPI so you should (or at least "may") be able to install it in any Python environment, provided the dependencies are also available. I also agree with Dr. Kumar's response that installing into a system-provided Python may not be the best idea (on any system, but especially macOS). Python does support virtual environments pretty well, which I would highly recommend to anyone wanting to install using a system-provided Python. If you have tried installing Larch and run into trouble, let us know what you tried and what did not work. On Mon, Dec 12, 2022 at 10:14 AM TRANCHANT Laurent < [ mailto:laurent.tranch...@synchrotron-soleil.fr | laurent.tranch...@synchrotron-soleil.fr ] > wrote: Dear Mr or Mrs, I sent you this message about ten days ago but on my side I did not receive any answer. I would like to avoid installing Anaconda during the installation of Larch on my MacOS computer. I would like to know if it is possible or not. I thank you in advance for your help. Best regards, Laurent Tranchant De: "TRANCHANT Laurent" < [ mailto:laurent.tranch...@synchrotron-soleil.fr | laurent.tranch...@synchrotron-soleil.fr ] > À: "ifeffit" < [ mailto:ifeffit@millenia.cars.aps.anl.gov | ifeffit@millenia.cars.aps.anl.gov ] > Envoyé: Mercredi 30 Novembre 2022 13:49:11 Objet: Installing Larch without installing Anaconda Dear Mr or Mrs, I am Laurent Tranchant, post-doctoral researcher working at the IPANEMA laboratory at the SOLEIL synchrotron in France. I would like to install Larch (especially to use XAS Viewer to treat my XAS data) without installing Anaconda on MacOS. Do you know if it is possible or not ? For example by using MacPorts instead of Anaconda... It seems that all the solutions proposed online to install Larch on MacOS require the installation of Anaconda Python environment. I thank you in advance for your help. Best regards, Laurent Tranchant ___ Ifeffit mailing list [ mailto:Ifeffit@millenia.cars.aps.anl.gov | Ifeffit@millenia.cars.aps.anl.gov ] [ http://millenia.cars.aps.anl.gov/mailman/listinfo/ifeffit | http://millenia.cars.aps.anl.gov/mailman/listinfo/ifeffit ] Unsubscribe: [ http://millenia.cars.aps.anl.gov/mailman/options/ifeffit | http://millenia.cars.aps.anl.gov/mailman/options/ifeffit ] -- --Matt Newville http://cars.uchicago.edu/ | cars.uchicago.edu ] > 630-327-7411 ___ 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
Re: [Ifeffit] Installing Larch without installing Anaconda
Hi Laurent, Hopefully, you saw the earlier replies - if not, see the archived messages at https://millenia.cars.aps.anl.gov/pipermail/ifeffit/2022-November/thread.html The basic answer is that you do not need to use Anaconda to run Larch on macOS. There is a MacPorts port available, for example. In fact, Larch is distributed with PyPI so you should (or at least "may") be able to install it in any Python environment, provided the dependencies are also available. I also agree with Dr. Kumar's response that installing into a system-provided Python may not be the best idea (on any system, but especially macOS). Python does support virtual environments pretty well, which I would highly recommend to anyone wanting to install using a system-provided Python. If you have tried installing Larch and run into trouble, let us know what you tried and what did not work. On Mon, Dec 12, 2022 at 10:14 AM TRANCHANT Laurent < laurent.tranch...@synchrotron-soleil.fr> wrote: > Dear Mr or Mrs, > > I sent you this message about ten days ago but on my side I did not > receive any answer. > I would like to avoid installing Anaconda during the installation of Larch > on my MacOS computer. I would like to know if it is possible or not. > > I thank you in advance for your help. > > Best regards, > > Laurent Tranchant > > -- > *De: *"TRANCHANT Laurent" > *À: *"ifeffit" > *Envoyé: *Mercredi 30 Novembre 2022 13:49:11 > *Objet: *Installing Larch without installing Anaconda > > Dear Mr or Mrs, > > I am Laurent Tranchant, post-doctoral researcher working at the IPANEMA > laboratory at the SOLEIL synchrotron in France. > I would like to install Larch (especially to use XAS Viewer to treat my > XAS data) without installing Anaconda on MacOS. Do you know if it is > possible or not ? For example by using MacPorts instead of Anaconda... > It seems that all the solutions proposed online to install Larch on MacOS > require the installation of Anaconda Python environment. > > I thank you in advance for your help. > > Best regards, > > Laurent Tranchant > > ___ > 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 630-327-7411 ___ 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
Re: [Ifeffit] Installing Larch without installing Anaconda
Dear Laurent Tranchant, I may not be the best guy to answer yet I have a simple answer. On MAC-OS the existing python is made by apple. The following is about Apple Python Apple: Mac OS X comes with a pre-installation of Python, usually one or two years old. This can be sufficient for some needs, but the MacPython<https://wiki.python.org/moin/MacPython> community recommends installing a newer, more capable, version. Don't get rid of the Apple version, though! It's used by some system utilities. copied from https://wiki.python.org/moin/MacPython/PythonDistributionsForMac Larch don't want to disturb this native python on MAC. So the ANACONDA method is best to install LARCH and keep your apple created python safe. When you don't want ANACONDA, just delete the anaconda folder. That's it no questions asked. Mahendra Dr. K Uma Mahendra Kumar Asst Professor of Physics Dept of Physics - SAS Vellore Institute of Technology - Vellore,TN 632 014 Bharat https://sites.google.com/view/umamahendrakumar/home From: Ifeffit on behalf of TRANCHANT Laurent Sent: Monday, December 12, 2022 9:43:46 PM To: ifeffit Subject: Re: [Ifeffit] Installing Larch without installing Anaconda Dear Mr or Mrs, I sent you this message about ten days ago but on my side I did not receive any answer. I would like to avoid installing Anaconda during the installation of Larch on my MacOS computer. I would like to know if it is possible or not. I thank you in advance for your help. Best regards, Laurent Tranchant De: "TRANCHANT Laurent" À: "ifeffit" Envoyé: Mercredi 30 Novembre 2022 13:49:11 Objet: Installing Larch without installing Anaconda Dear Mr or Mrs, I am Laurent Tranchant, post-doctoral researcher working at the IPANEMA laboratory at the SOLEIL synchrotron in France. I would like to install Larch (especially to use XAS Viewer to treat my XAS data) without installing Anaconda on MacOS. Do you know if it is possible or not ? For example by using MacPorts instead of Anaconda... It seems that all the solutions proposed online to install Larch on MacOS require the installation of Anaconda Python environment. I thank you in advance for your help. Best regards, Laurent Tranchant ___ 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
Re: [Ifeffit] Installing Larch without installing Anaconda
Dear Mr or Mrs, I sent you this message about ten days ago but on my side I did not receive any answer. I would like to avoid installing Anaconda during the installation of Larch on my MacOS computer. I would like to know if it is possible or not. I thank you in advance for your help. Best regards, Laurent Tranchant De: "TRANCHANT Laurent" À: "ifeffit" Envoyé: Mercredi 30 Novembre 2022 13:49:11 Objet: Installing Larch without installing Anaconda Dear Mr or Mrs, I am Laurent Tranchant, post-doctoral researcher working at the IPANEMA laboratory at the SOLEIL synchrotron in France. I would like to install Larch (especially to use XAS Viewer to treat my XAS data) without installing Anaconda on MacOS. Do you know if it is possible or not ? For example by using MacPorts instead of Anaconda... It seems that all the solutions proposed online to install Larch on MacOS require the installation of Anaconda Python environment. I thank you in advance for your help. Best regards, Laurent Tranchant ___ 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
Re: [Ifeffit] Installing Larch without installing Anaconda
Hi Laurent, On Wed, Nov 30, 2022 at 9:05 AM TRANCHANT Laurent < laurent.tranch...@synchrotron-soleil.fr> wrote: > Dear Mr or Mrs, > > I am Laurent Tranchant, post-doctoral researcher working at the IPANEMA > laboratory at the SOLEIL synchrotron in France. > I would like to install Larch (especially to use XAS Viewer to treat my > XAS data) without installing Anaconda on MacOS. Do you know if it is > possible or not ? For example by using MacPorts instead of Anaconda... > It seems that all the solutions proposed online to install Larch on MacOS > require the installation of Anaconda Python environment. > Yes, as Carlo says, I think it should be possible to install Larch on MacOS with Python from Python.org and probably from MacPorts too. The main requirements are "the normal scientific python stack" which should be available with essentially every distribution. To get the GUIs, wxPython is required. PyPI has this for MacOS (and Windows), so that it should work. I think I have not tried Larch with MacPorts or "Python.org Python" on MacOS for a few years. But if you are interested, I would say to go ahead and try, maybe even start by trying `pip install xraylarch`. If you're interested in using the GUIs, do `pip install wxmplot` (to be clear, wxPython is not a requirement for using Larch as a library, but is needed for the GUIs). Let me know how it goes or if you run into any problems or have any questions. --Matt ___ 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] Installing Larch without installing Anaconda
Dear Mr or Mrs, I am Laurent Tranchant, post-doctoral researcher working at the IPANEMA laboratory at the SOLEIL synchrotron in France. I would like to install Larch (especially to use XAS Viewer to treat my XAS data) without installing Anaconda on MacOS. Do you know if it is possible or not ? For example by using MacPorts instead of Anaconda... It seems that all the solutions proposed online to install Larch on MacOS require the installation of Anaconda Python environment. I thank you in advance for your help. Best regards, Laurent Tranchant ___ 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