Re: [Ifeffit] Larch install error on MacOS 12.2

2022-02-11 Thread Mangold, Stefan (IPS)
Dear Matt and Jeff


I checked again the binary installer and there is no xas_viewer in 
~/xraylarch/bin/

so the installer seemed to work only partially.

all installers go through the process (binary installer and script) with 
telling everything is fine, no error message.

If you are clicking on the icon (XAS Viewer) after script installer succeeded 
just 3 bumps on the icon in the dock end no message.
all other Application in the folder work now, but not XAS Viewer

The script seemed to work,
~/xraylarch/bin/xas_viewer is created and starts up by terminal, not per 
clicking on the icon (also option click doesn’t, system don’t ask for access 
privileges).

Do you have any idea to get the XAS Viewer working? No error messages in the 
sys-log. Even after the starting from terminal, it doesn’t work.

best regards

Stefan


Am 10.02.2022 um 14:22 schrieb Matt Newville 
mailto:newvi...@cars.uchicago.edu>>:

Hi Stefan,

I hope it's kind of obvious,  but telling us "it doesn't work" is not going to 
ever get a reply other than "follow the instructions and report back any errors 
you may get".  You have not given us any error messages.

What do you mean by 'larch -m' did not work?  Did it give any error messages?  
If so, what were they?  If not, why didn't you say that?
When you installed with 'GetLarch.sh', what does the log file say about its 
installation?

Did you try opening a Terminal and running
 ~/xraylarch/bin/xas_viewer

? If so, what does that report?

On Thu, Feb 10, 2022, 4:26 AM Mangold, Stefan (IPS) 
mailto:stefan.mang...@kit.edu>> wrote:
Dear Matt,

sorry for the delayed feedback, my time for testing is pretty limited.

1. tried to start the old installation, but XAS viewer didn’t start
2. installed binary installer and tried to create new ICONs, didn’t work (used 
all command described on the webpage)
3. Install via script on the web page, installer said everything fine, start-up 
icons (XAS-viewer) created, but they didn’t start up.

so next thing I will do is to install anaconda again, and try it via the 
instruction Jeff Terry pointed to

——

# Create new environment
conda config --add channels conda-forge
conda create -n exafs python=3.7
conda activate exafs

# Install Conda Dependencies
conda install -y "numpy=>1.20" "scipy=>1.5" "matplotlib=>3.0" scikit-learn 
pandas
conda install -y pyparsing pytest pytest-cov coverage
conda install -y h5py pillow  sqlalchemy psutil pyyaml
conda install -y psycopg2-binary numdifftools emcee
conda install -y wxpython
conda install -y pymatgen
conda install -y cython

# Install lmfits and Xraylarch using Pip
pip install lmfit peakutils pyepics pyshortcuts termcolor sphinx dill 
pycifrw xraydb wxmplot wxutils
pip install xraylarch

larch -m





more testing probably this evening …

best regards

Stefan Mangold


> Am 09.02.2022 um 22:59 schrieb Matt Newville 
> mailto:newvi...@cars.uchicago.edu>>:
>
> Hi Stefan,
>
> Sorry for the trouble.  I would definitely recommend deleting and starting 
> over with the binary installer.  If you run into trouble with that, running 
> the "GetLarch.sh" in a Terminal would probably be the most helpful, as it 
> will create a log file that might have some clues about what went wrong.  
> And, like Jeff said, if you don't get the Larch folder of Apps, typing
>~/xraylarch/bin/larch -m
>
> in a Terminal should remake those.



>
>
> On Wed, Feb 9, 2022 at 2:05 AM Mangold, Stefan (IPS) 
> mailto:stefan.mang...@kit.edu>> wrote:
> Dear all,
>
> I upgraded a machine to 12.2 (MacPro), Larch was installed via binary 
> installer. Afterwards Larch didn’t launch. I did a re-install with the binary 
> installer and this didn’t work, because already installed. deleted it, but 
> this also didn’t work
>
> tried
>
> pip install xraylarch
>
> stopped
> with
> ERROR: Failed building wheel for fabio
> Failed to build fabio
>
> also no director with XAS viewer created.
>
>
> best regards
>
> Stefan Mangold
>
>
> --
> --Matt Newville http://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] Larch install error on MacOS 12.2

2022-02-10 Thread Matt Newville
Hi Stefan,

I hope it's kind of obvious,  but telling us "it doesn't work" is not going
to ever get a reply other than "follow the instructions and report back any
errors you may get".  You have not given us any error messages.

What do you mean by 'larch -m' did not work?  Did it give any error
messages?  If so, what were they?  If not, why didn't you say that?
When you installed with 'GetLarch.sh', what does the log file say about its
installation?

Did you try opening a Terminal and running
 ~/xraylarch/bin/xas_viewer

? If so, what does that report?

On Thu, Feb 10, 2022, 4:26 AM Mangold, Stefan (IPS) 
wrote:

> Dear Matt,
>
> sorry for the delayed feedback, my time for testing is pretty limited.
>
> 1. tried to start the old installation, but XAS viewer didn’t start
> 2. installed binary installer and tried to create new ICONs, didn’t work
> (used all command described on the webpage)
> 3. Install via script on the web page, installer said everything fine,
> start-up icons (XAS-viewer) created, but they didn’t start up.
>
> so next thing I will do is to install anaconda again, and try it via the
> instruction Jeff Terry pointed to
>
> ——
>
> # Create new environment
> conda config --add channels conda-forge
> conda create -n exafs python=3.7
> conda activate exafs
>
> # Install Conda Dependencies
> conda install -y "numpy=>1.20" "scipy=>1.5" "matplotlib=>3.0"
> scikit-learn pandas
> conda install -y pyparsing pytest pytest-cov coverage
> conda install -y h5py pillow  sqlalchemy psutil pyyaml
> conda install -y psycopg2-binary numdifftools emcee
> conda install -y wxpython
> conda install -y pymatgen
> conda install -y cython
>
> # Install lmfits and Xraylarch using Pip
> pip install lmfit peakutils pyepics pyshortcuts termcolor sphinx dill
> pycifrw xraydb wxmplot wxutils
> pip install xraylarch
>
> larch -m
>
>
> 
>
>
> more testing probably this evening …
>
> best regards
>
> Stefan Mangold
>
>
> > Am 09.02.2022 um 22:59 schrieb Matt Newville  >:
> >
> > Hi Stefan,
> >
> > Sorry for the trouble.  I would definitely recommend deleting and
> starting over with the binary installer.  If you run into trouble with
> that, running the "GetLarch.sh" in a Terminal would probably be the most
> helpful, as it will create a log file that might have some clues about what
> went wrong.  And, like Jeff said, if you don't get the Larch folder of
> Apps, typing
> >~/xraylarch/bin/larch -m
> >
> > in a Terminal should remake those.
>
>
>
> >
> >
> > On Wed, Feb 9, 2022 at 2:05 AM Mangold, Stefan (IPS) <
> stefan.mang...@kit.edu> wrote:
> > Dear all,
> >
> > I upgraded a machine to 12.2 (MacPro), Larch was installed via binary
> installer. Afterwards Larch didn’t launch. I did a re-install with the
> binary installer and this didn’t work, because already installed. deleted
> it, but this also didn’t work
> >
> > tried
> >
> > pip install xraylarch
> >
> > stopped
> > with
> > ERROR: Failed building wheel for fabio
> > Failed to build fabio
> >
> > also no director with XAS viewer created.
> >
> >
> > best regards
> >
> > Stefan Mangold
> >
> >
> > --
> > --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] Larch install error on MacOS 12.2

2022-02-10 Thread Mangold, Stefan (IPS)
Dear Matt,

sorry for the delayed feedback, my time for testing is pretty limited. 

1. tried to start the old installation, but XAS viewer didn’t start 
2. installed binary installer and tried to create new ICONs, didn’t work (used 
all command described on the webpage)
3. Install via script on the web page, installer said everything fine, start-up 
icons (XAS-viewer) created, but they didn’t start up.

so next thing I will do is to install anaconda again, and try it via the 
instruction Jeff Terry pointed to 

——

# Create new environment
conda config --add channels conda-forge
conda create -n exafs python=3.7
conda activate exafs

# Install Conda Dependencies
conda install -y "numpy=>1.20" "scipy=>1.5" "matplotlib=>3.0" scikit-learn 
pandas
conda install -y pyparsing pytest pytest-cov coverage
conda install -y h5py pillow  sqlalchemy psutil pyyaml
conda install -y psycopg2-binary numdifftools emcee
conda install -y wxpython
conda install -y pymatgen
conda install -y cython

# Install lmfits and Xraylarch using Pip
pip install lmfit peakutils pyepics pyshortcuts termcolor sphinx dill 
pycifrw xraydb wxmplot wxutils
pip install xraylarch

larch -m





more testing probably this evening …

best regards

Stefan Mangold


> Am 09.02.2022 um 22:59 schrieb Matt Newville :
> 
> Hi Stefan,
> 
> Sorry for the trouble.  I would definitely recommend deleting and starting 
> over with the binary installer.  If you run into trouble with that, running 
> the "GetLarch.sh" in a Terminal would probably be the most helpful, as it 
> will create a log file that might have some clues about what went wrong.  
> And, like Jeff said, if you don't get the Larch folder of Apps, typing   
>~/xraylarch/bin/larch -m 
> 
> in a Terminal should remake those.



> 
> 
> On Wed, Feb 9, 2022 at 2:05 AM Mangold, Stefan (IPS)  
> wrote:
> Dear all,
> 
> I upgraded a machine to 12.2 (MacPro), Larch was installed via binary 
> installer. Afterwards Larch didn’t launch. I did a re-install with the binary 
> installer and this didn’t work, because already installed. deleted it, but 
> this also didn’t work 
> 
> tried
> 
> pip install xraylarch
> 
> stopped 
> with
> ERROR: Failed building wheel for fabio
> Failed to build fabio
> 
> also no director with XAS viewer created.
> 
> 
> best regards
> 
> Stefan Mangold
> 
> 
> -- 
> --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] Larch install error on MacOS 12.2

2022-02-09 Thread Matt Newville
Hi Stefan,

Sorry for the trouble.  I would definitely recommend deleting and starting
over with the binary installer.  If you run into trouble with that, running
the "GetLarch.sh" in a Terminal would probably be the most helpful, as it
will create a log file that might have some clues about what went wrong.
And, like Jeff said, if you don't get the Larch folder of Apps, typing
   ~/xraylarch/bin/larch -m

in a Terminal should remake those.


On Wed, Feb 9, 2022 at 2:05 AM Mangold, Stefan (IPS) 
wrote:

> Dear all,
>
> I upgraded a machine to 12.2 (MacPro), Larch was installed via binary
> installer. Afterwards Larch didn’t launch. I did a re-install with the
> binary installer and this didn’t work, because already installed. deleted
> it, but this also didn’t work
>
> tried
>
> pip install xraylarch
>
> stopped
> with
> ERROR: Failed building wheel for fabio
> Failed to build fabio
>
> also no director with XAS viewer created.
>
>
> best regards
>
> Stefan Mangold



-- 
--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] Larch install error on MacOS 12.2

2022-02-09 Thread Mauro ROVEZZI

Dear Stefan,

Please, follow the installation instructions here:

https://xraypy.github.io/xraylarch/installation.html

If the first way (via binary installers) does not work for you, you have 
two options:


a) make a clearer report of what is not working. "Larch didn't launch" 
does not help that much to understand what went wrong on your machine. 
You may open a shell and type "larch" or "xas_viewer" to get a more 
explicit error message.


b) install via the second way listed in the documentation, that is via 
the GetLarch.sh script.


Hope that this will fix your issue.

Best,
Mauro

On 09/02/2022 09:05, Mangold, Stefan (IPS) wrote:

Dear all,

I upgraded a machine to 12.2 (MacPro), Larch was installed via binary 
installer. Afterwards Larch didn’t launch. I did a re-install with the binary 
installer and this didn’t work, because already installed. deleted it, but this 
also didn’t work

tried

pip install xraylarch

stopped
with
ERROR: Failed building wheel for fabio
Failed to build fabio

also no director with XAS viewer created.


best regards

Stefan Mangold

___
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


[Ifeffit] Larch install error on MacOS 12.2

2022-02-09 Thread Mangold, Stefan (IPS)
Dear all,

I upgraded a machine to 12.2 (MacPro), Larch was installed via binary 
installer. Afterwards Larch didn’t launch. I did a re-install with the binary 
installer and this didn’t work, because already installed. deleted it, but this 
also didn’t work 

tried

pip install xraylarch

stopped 
with
ERROR: Failed building wheel for fabio
Failed to build fabio

also no director with XAS viewer created.


best regards

Stefan Mangold

___
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] Larch install error

2019-10-05 Thread Mangold, Stefan (IPS)
Thanks, your feedback helped. Shortcuts are now created and XAS-viewer works as 
before...

Best regards
Stefan

Von: Matt Newville 
Gesendet: Donnerstag, 3. Oktober 2019 18:46:13
An: Mangold, Stefan (IPS)
Cc: XAFS Analysis using Ifeffit
Betreff: Re: Larch install error

Hi Stefan,



On Wed, Oct 2, 2019 at 12:08 PM Mangold, Stefan (IPS) 
mailto:stefan.mang...@kit.edu>> wrote:
Dear Matt,


I tried to install larch via Anaconda. Install of Anaconda and larch seems to 
work fine, but I couldn't create the Links via

larch -m
[numexpr.utils] INFO : NumExpr defaulting to 8 threads.
Warning: could not create shortcut to  /Users/myaccount/anaconda3/bin/larch
Warning: could not create shortcut to  /Users/myaccount/anaconda3/bin/larch 
--wxgui
Warning: could not create shortcut to  /Users/myaccount/anaconda3/bin/xas_viewer
Warning: could not create shortcut to  
/Users/myaccount/anaconda3/bin/gse_mapviewer
Warning: could not create shortcut to  
/Users/myaccount/anaconda3/bin/gse_dtcorrect
Warning: could not create shortcut to  /Users/myaccount/anaconda3/bin/xrfdisplay
Warning: could not create shortcut to  
/Users/myaccount/anaconda3/bin/dioptas_larch
Warning: could not create shortcut to  
/Users/myaccount/anaconda3/bin/xrd2d_viewer
Warning: could not create shortcut to  
/Users/myaccount/anaconda3/bin/xrd1d_viewer

I have MacOS Sierra installed

On a similar system I installed larch half a year ago without any issues.

Oh very sorry.  I can reproduce this. I believe that an update to `pyshortcuts` 
 (which *will* be a good thing for the next release of Larch) has broken the 
current release.  (ah progress!).
I also believe that this means that Larch did get installed correctly, but that 
the Desktop Apps/Icons did not get made.

You should be able to do this from a Terminal command line:

  pip install pyshortcuts==1.4
  larch -m

Let me know whether that fixes it or not.
Cheers,

--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


Re: [Ifeffit] Larch install error

2019-10-03 Thread Matt Newville
Hi Stefan,



On Wed, Oct 2, 2019 at 12:08 PM Mangold, Stefan (IPS) <
stefan.mang...@kit.edu> wrote:

> Dear Matt,
>
>
> I tried to install larch via Anaconda. Install of Anaconda and larch seems
> to work fine, but I couldn’t create the Links via
>
> larch -m
> [numexpr.utils] INFO : NumExpr defaulting to 8 threads.
> Warning: could not create shortcut to  /Users/myaccount/anaconda3/bin/larch
> Warning: could not create shortcut to
> /Users/myaccount/anaconda3/bin/larch --wxgui
> Warning: could not create shortcut to
> /Users/myaccount/anaconda3/bin/xas_viewer
> Warning: could not create shortcut to
> /Users/myaccount/anaconda3/bin/gse_mapviewer
> Warning: could not create shortcut to
> /Users/myaccount/anaconda3/bin/gse_dtcorrect
> Warning: could not create shortcut to
> /Users/myaccount/anaconda3/bin/xrfdisplay
> Warning: could not create shortcut to
> /Users/myaccount/anaconda3/bin/dioptas_larch
> Warning: could not create shortcut to
> /Users/myaccount/anaconda3/bin/xrd2d_viewer
> Warning: could not create shortcut to
> /Users/myaccount/anaconda3/bin/xrd1d_viewer
>
> I have MacOS Sierra installed
>
> On a similar system I installed larch half a year ago without any issues.
>

Oh very sorry.  I can reproduce this. I believe that an update to
`pyshortcuts`  (which *will* be a good thing for the next release of Larch)
has broken the current release.  (ah progress!).
I also believe that this means that Larch did get installed correctly, but
that the Desktop Apps/Icons did not get made.

You should be able to do this from a Terminal command line:

  pip install pyshortcuts==1.4
  larch -m

Let me know whether that fixes it or not.
Cheers,

--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] Larch install error

2019-10-02 Thread Mangold, Stefan (IPS)
Dear Matt,


I tried to install larch via Anaconda. Install of Anaconda and larch seems to 
work fine, but I couldn’t create the Links via

larch -m
[numexpr.utils] INFO : NumExpr defaulting to 8 threads.
Warning: could not create shortcut to  /Users/myaccount/anaconda3/bin/larch
Warning: could not create shortcut to  /Users/myaccount/anaconda3/bin/larch 
--wxgui
Warning: could not create shortcut to  /Users/myaccount/anaconda3/bin/xas_viewer
Warning: could not create shortcut to  
/Users/myaccount/anaconda3/bin/gse_mapviewer
Warning: could not create shortcut to  
/Users/myaccount/anaconda3/bin/gse_dtcorrect
Warning: could not create shortcut to  /Users/myaccount/anaconda3/bin/xrfdisplay
Warning: could not create shortcut to  
/Users/myaccount/anaconda3/bin/dioptas_larch
Warning: could not create shortcut to  
/Users/myaccount/anaconda3/bin/xrd2d_viewer
Warning: could not create shortcut to  
/Users/myaccount/anaconda3/bin/xrd1d_viewer

I have MacOS Sierra installed

On a similar system I installed larch half a year ago without any issues. 

best regards
Stefan Mangold

___
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