-
Notifications
You must be signed in to change notification settings - Fork 7
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
pip install fails (m1 mac, aarch64) and workaround #3
Comments
Well. I'm trying to use Does anyone have any ideas on how to get this compiling in Thanks |
simonswine
added a commit
to simonswine/phlare
that referenced
this issue
Nov 22, 2022
The python example only works on linux/amd64 or at least linux/arm64 is not supported. Also see timpalpant/mprofile#3.
Opened a PR to fix this #5. I haven't tested it too much yet, so please use with caution. |
simonswine
added a commit
to simonswine/pyroscope
that referenced
this issue
Jun 30, 2023
The python example only works on linux/amd64 or at least linux/arm64 is not supported. Also see timpalpant/mprofile#3.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
mprofile
is failing to compile when I try topip install pyproff
inside a container, running on Apple M1 Max.Dockerfile
docker build .
I don't know much about this problem, but a workaround I've found is to change the initial container image to
FROM --platform=linux/amd64 python:3.9-slim
as it usually defaults to
aarch64
.There's also this
DOCKER_DEFAULT_PLATFORM=linux/amd64
I felt compelled to document and share this.
The text was updated successfully, but these errors were encountered: