equinor / dlisio

Python library for working with the well log formats Digital Log Interchange Standard (DLIS V1) and Log Information Standard (LIS79)
https://dlisio.readthedocs.io/en/latest/
Other
121 stars 39 forks source link

Issue with installing from pip om M1 Mac #421

Closed KristianKjerstad closed 11 months ago

KristianKjerstad commented 1 year ago

I have trouble installing dlisio with pip. Other packages can be installed without any issues.

Steps to reproduce: 1) Create a new virtual environment with python version 3.9.1 2) upgrade pip to latest version with python -m pip install --upgrade pip 3) running the command pip install dlisio gives this error: image

Also, pip index does not find any versions. The pip index command finds all verions other packages, like numpy image

Tried on Mac OS Ventura 13.1 (with M1 chip)

KristianKjerstad commented 1 year ago

also tried with python 3.8.12 and got same issue

ErlendHaa commented 1 year ago

Hi! Unfortuanally we don't provide any prebuilt python wheels for ARM on MacOS. The reason is that GitHub action, which is used to build and publish wheels, doesn't have any runners for arm and we haven't gotten cross-compilation to work properly.

dlisio does build fine on the new ARM machines tho, so you could compile it yourself. Alternatively you can enable rosetta in your terminal and install the prebuilt pip wheels for intel Macs.

Northo commented 1 year ago

@ErlendHaa, MacOS ARM runners were recently released into public beta: https://github.blog/2023-10-02-introducing-the-new-apple-silicon-powered-m1-macos-larger-runner-for-github-actions !! The naming convention is a bit confusing, but the macos-<version>-xlarge runners should be on M1 (see this for details).

Looking forward to M1 wheels!!

achaikou commented 11 months ago

MacOS ARM wheels should be available from dlisio 1.0.1.

Northo commented 11 months ago

Great! Thanks for the swift turn around, @achaikou!