Not possible to install larch on actual system and Mac M1 system
Dear all, from binary package: can’t write to system partition by script and by anaconda I got the following message back: Collecting fabio Using cached fabio-2023.4.1.tar.gz (724 kB) Installing build dependencies ... done Getting requirements to build wheel ... done Preparing metadata (pyproject.toml) ... error error: subprocess-exited-with-error System ist 13.3.1, tried to install the newest version completely from scratch, because the update killed my larch version …. best regards Stefan
Hi Stefan, Sorry for the trouble. As it turns out, I am writing this on a Macbook M1 running 13.3.1. I think the "GetLarch.sh" script should work (downloading https://raw.githubusercontent.com/xraypy/xraylarch/master/installers/GetLarc... and running with `sh GetLarch.sh` in a Terminal). For me, that is using fabio version 2023.4.1. Does that work for you? If not, can you send the log file (GetLarch.log)? --Matt On Tue, May 16, 2023 at 9:19 AM Mangold, Stefan (IPS) < stefan.mangold@kit.edu> wrote:
Dear all,
from binary package: can’t write to system partition
by script and by anaconda I got the following message back:
Collecting fabio Using cached fabio-2023.4.1.tar.gz (724 kB) Installing build dependencies ... done Getting requirements to build wheel ... done Preparing metadata (pyproject.toml) ... error *error*: *subprocess-exited-with-error*
System ist 13.3.1, tried to install the newest version completely from scratch, because the update killed my larch version ….
best regards
Stefan _______________________________________________ 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
I used chmod, but wit your command the same result ….
Collecting fabio
Using cached fabio-2023.4.1.tar.gz (724 kB)
Installing build dependencies: started
Installing build dependencies: finished with status 'done'
Getting requirements to build wheel: started
Getting requirements to build wheel: finished with status 'done'
Preparing metadata (pyproject.toml): started
Preparing metadata (pyproject.toml): finished with status 'error'
error: subprocess-exited-with-error
× Preparing metadata (pyproject.toml) did not run successfully.
│ exit code: 1
put it into GitHub
best regards
Stefan
Am 16.05.2023 um 16:31 schrieb Matt Newville
Dear all, Dear Matt
found the reason:
- you need command line developer tools installed
- these have to be up to date
If this is the case, the install via script works also on ARM Macs ….; the Intel-Mac, which I tested, had an updated version installed.
best regards
Stefan
Am 16.05.2023 um 16:31 schrieb Matt Newville
Hi Stefan, OK, glad to hear you got it working, and thanks for the explanation. It is definitely not the intention that the Xcode developer tools need to be installed. I do have those installed, but still `fabio` did install from a "whl" (packaged binary), not a "tar.gz" (a source code kit) for me. I think this is probably not related to ARM/M1 v Intel. I think it is just whether the binary was expected to be built on the target machine or not. Anyway, thanks - that might help someone else who gets stuck too. Cheers, On Wed, May 17, 2023 at 4:45 AM Mangold, Stefan (IPS) < stefan.mangold@kit.edu> wrote:
Dear all, Dear Matt
found the reason:
- you need command line developer tools installed
- these have to be up to date
If this is the case, the install via script works also on ARM Macs ….; the Intel-Mac, which I tested, had an updated version installed.
best regards
Stefan
Am 16.05.2023 um 16:31 schrieb Matt Newville
: Hi Stefan,
Sorry for the trouble. As it turns out, I am writing this on a Macbook M1 running 13.3.1.
I think the "GetLarch.sh" script should work (downloading https://raw.githubusercontent.com/xraypy/xraylarch/master/installers/GetLarc...
and running with `sh GetLarch.sh` in a Terminal).
For me, that is using fabio version 2023.4.1.
Does that work for you? If not, can you send the log file (GetLarch.log)?
--Matt
On Tue, May 16, 2023 at 9:19 AM Mangold, Stefan (IPS) < stefan.mangold@kit.edu> wrote:
Dear all,
from binary package: can’t write to system partition
by script and by anaconda I got the following message back:
Collecting fabio Using cached fabio-2023.4.1.tar.gz (724 kB) Installing build dependencies ... done Getting requirements to build wheel ... done Preparing metadata (pyproject.toml) ... error *error*: *subprocess-exited-with-error*
System ist 13.3.1, tried to install the newest version completely from scratch, because the update killed my larch version ….
best regards
Stefan _______________________________________________ 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 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
participants (2)
-
Mangold, Stefan (IPS)
-
Matt Newville