azure-sdk-for-python
azure-sdk-for-python copied to clipboard
azureml-dataset-runtime (failed to build numpy)
- azureml-dataset-runtime:
- 1.43.0:
- macOS Monterey (Silicon M1 Pro):
- 3.8.13, 3.9.13, 3.10.4:
Describe the bug
ERROR: Failed building wheel for numpy
Failed to build numpy
ERROR: Could not build wheels for numpy, which is required to install pyproject.toml-based projects
[end of output]
To Reproduce
pip install azureml-dataset-runtime
Expected behavior Library installs as expected Screenshots If applicable, add screenshots to help explain your problem.
Additional context Add any other context about the problem here. error_msg.txt
Thank you for your feedback. This has been routed to the support team for assistance.
Hi @nagydavid thanks for the feedback. We will investigate asap. @azureml-github
@nagydavid Thx for providing the feedback. This issue sounds like is caused by numpy not being supported natively on M1. Have you also reported this to numpy? One workaround is to use Rosetta to run Python on your M1 Mac.
@luigiw @l0lawrence Thanks for the answer, but numpy is natively supported on M1, it seems the version that rely on using not the latest numpy version.
So according to the installation logs, the library dependent on 1.19.4, where the latest release of numpy is 1.23.0
Hi @bandsina @luigiw @l0lawrence May I have an update on the possible solutions?
Thanks in advance
@nagydavid Sorry to be a bearer of bad news, but M1 is currently not officially supported. We do have work planned to add support for M1, but exact timeframe is currently uncertain. As a work around you can use x86 compatible python environment, like this one for conda:
https://towardsdatascience.com/how-to-manage-conda-environments-on-an-apple-silicon-m1-mac-1e29cb3bad12
CONDA_SUBDIR=osx-64 conda create -n myenv_x86 python=3.9
conda activate myenv_x86
conda config --env --set subdir osx-64
Thanks for the answer @anliakho2 :)
Hi @nagydavid. Thank you for opening this issue and giving us the opportunity to assist. We believe that this has been addressed. If you feel that further discussion is needed, please add a comment with the text “/unresolve
” to remove the “issue-addressed” label and continue the conversation.
Hi @nagydavid, since you haven’t asked that we “/unresolve
” the issue, we’ll close this out. If you believe further discussion is needed, please add a comment “/unresolve
” to reopen the issue.
Hi, I am getting this issue, I cannot install the library on my M1 pro
Hi, I am also still getting this issue, /unresolve
Hi Waddaben, only the original author of the issue can ask that it be unresolved. Please open a new issue with your scenario and details if you would like to discuss this topic with the team.
/unresolve
I am also getting the same issue:
macOS Monterey 12.5 Apple M1 Pro Python 3.8.13
× Encountered error while trying to install package.
╰─> numpy
note: This is an issue with the package mentioned above, not pip.
hint: See above for output from the failure.
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error
× pip subprocess to install build dependencies did not run successfully.
│ exit code: 1
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
To reproduce:
pip install azureml-dataset-runtime
I am facing same issue on Windows Python version 3.10.4
Have the same problem, M1, Mac OS Ventura, python 3.9.6!
Same here, M1, Mac OS, Python 3.9.6
@anliakho2 Can you provide an update on this issue? Thank you.
Same issue here, M2 macbook air
Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @azureml-github, @Azure/azure-ml-sdk.
Issue Details
- azureml-dataset-runtime:
- 1.43.0:
- macOS Monterey (Silicon M1 Pro):
- 3.8.13, 3.9.13, 3.10.4:
Describe the bug
ERROR: Failed building wheel for numpy
Failed to build numpy
ERROR: Could not build wheels for numpy, which is required to install pyproject.toml-based projects
[end of output]
To Reproduce
pip install azureml-dataset-runtime
Expected behavior Library installs as expected Screenshots If applicable, add screenshots to help explain your problem.
Additional context Add any other context about the problem here. error_msg.txt
Author: | nagydavid |
---|---|
Assignees: | luigiw |
Labels: |
|
Milestone: | - |
Hey I am having the same issue with M1 Mac on Sonoma 14.2.1 using python 3.10. Has there been any movement on this issue?
Hi @nagydavid, we deeply appreciate your input into this project. Regrettably, this issue has remained unresolved for over 2 years and inactive for 30 days, leading us to the decision to close it. We've implemented this policy to maintain the relevance of our issue queue and facilitate easier navigation for new contributors. If you still believe this topic requires attention, please feel free to create a new issue, referencing this one. Thank you for your understanding and ongoing support.