Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Current release candidate doesn't build on arm mac #101

Open
em-pe opened this issue May 9, 2024 · 2 comments
Open

Current release candidate doesn't build on arm mac #101

em-pe opened this issue May 9, 2024 · 2 comments

Comments

@em-pe
Copy link
Member

em-pe commented May 9, 2024


Cannot install azureml-dataprep-native.

  - Installing azureml-dataprep-rslex (2.22.2): Failed

  RuntimeError

  Unable to find installation candidates for azureml-dataprep-rslex (2.22.2)

There are no wheels for Apple Silicon available for azureml v1, the solution recommended by Microsoft is to upgrade to azure sdk v2

@em-pe
Copy link
Member Author

em-pe commented May 9, 2024

Depends on #104

@sfczekalski
Copy link

The issue is still present. I found that its root cause is azureml-fsspec not being compatible with Apple Silicon. There is a azure sdk for python issue for this, and it's sitll open.

Approaches I've tried to omit this issue:

  1. Manually trying to figure out the appropriate package versions.
  2. Creating virtual environment using conda with a flag that directs it to use Intel versions of the packages
conda create --platform osx-64 --name environment_name python
  1. Opening the terminal with Rosetta emulation and installing the packages in this terminal.

All of the above approaches failed, and for now the only one that I found to be working is to use Docker with Rosetta emulation. One needs to add the --platform linux/amd64 to docker run:

docker run --platform linux/amd64 -it python:3.10 bash

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants