Open levalencia opened 2 years ago
Having the same issue. Tried both in Intel and M1 Macs but I keep getting the same error when trying to pip install azure-dataset-runtime:
clang: build/src.macosx-12-arm64-3.9/numpy/core/src/umath/loops.c
clang: error: the clang compiler does not support 'faltivec', please use -maltivec and include altivec.h explicitly
clang: numpy/core/src/umath/ufunc_object.c
clang: numpy/core/src/umath/ufunc_type_resolution.c
clang: error: the clang compiler does not support 'faltivec', please use -maltivec and include altivec.h explicitly
clang: error: the clang compiler does not support 'faltivec', please use -maltivec and include altivec.h explicitly
clang: build/src.macosx-12-arm64-3.9/numpy/core/src/npymath/ieee754.c
clang: error: the clang compiler does not support 'faltivec', please use -maltivec and include altivec.h explicitly
clang: error: the clang compiler does not support 'faltivec', please use -maltivec and include altivec.h explicitly
clang: numpy/core/src/common/ucsnarrow.c
clang: error: the clang compiler does not support 'faltivec', please use -maltivec and include altivec.h explicitly
clang: numpy/core/src/common/array_assign.c
clang: /private/var/folders/_g/ttw1ghl95rjcn1sx78rv214h0000gn/T/pip-install-tc_pdfun/numpy_2ff78cf9ab9649a490052e547f808106/numpy/_build_utils/src/apple_sgemv_fix.c
clang: build/src.macosx-12-arm64-3.9/numpy/core/src/common/npy_cpu_features.c
clang: error: the clang compiler does not support 'faltivec', please use -maltivec and include altivec.h explicitly
clang: error: the clang compiler does not support 'faltivec', please use -maltivec and include altivec.h explicitly
clang: error: the clang compiler does not support 'faltivec', please use -maltivec and include altivec.h explicitly
clang: error: the clang compiler does not support 'faltivec', please use -maltivec and include altivec.h explicitly
clang: error: the clang compiler does not support 'faltivec', please use -maltivec and include altivec.h explicitly
clang: error: the clang compiler does not support 'faltivec', please use -maltivec and include altivec.h explicitly
clang: error: the clang compiler does not support 'faltivec', please use -maltivec and include altivec.h explicitly
clang: error: the clang compiler does not support 'faltivec', please use -maltivec and include altivec.h explicitly
error: Command "clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -DNPY_INTERNAL_BUILD=1 -DHAVE_NPY_CONFIG_H=1 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE=1 -D_LARGEFILE64_SOURCE=1 -DNO_ATLAS_INFO=3 -DHAVE_CBLAS -Ibuild/src.macosx-12-arm64-3.9/numpy/core/src/umath -Ibuild/src.macosx-12-arm64-3.9/numpy/core/src/npymath -Ibuild/src.macosx-12-arm64-3.9/numpy/core/src/common -Inumpy/core/include -Ibuild/src.macosx-12-arm64-3.9/numpy/core/include/numpy -Inumpy/core/src/common -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/src/npysort -I/opt/homebrew/Cellar/python@3.9/3.9.13_1/Frameworks/Python.framework/Versions/3.9/include/python3.9 -Ibuild/src.macosx-12-arm64-3.9/numpy/core/src/common -Ibuild/src.macosx-12-arm64-3.9/numpy/core/src/npymath -c numpy/core/src/multiarray/alloc.c -o build/temp.macosx-12-arm64-cpython-39/numpy/core/src/multiarray/alloc.o -MMD -MF build/temp.macosx-12-arm64-cpython-39/numpy/core/src/multiarray/alloc.o.d -faltivec -I/System/Library/Frameworks/vecLib.framework/Headers" failed with exit status 1
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
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]
note: This error originates from a subprocess, and is likely not a problem with pip. error: subprocess-exited-with-error
Any working solution for this?
We are running into the same issue.
If its with AzureML then the issue for me was fairly simple. I had the wrong version of python. Created a venv using python 3.6 and it worked after installing the necessary libraries.
so the Azure ML SDK for Python does not support Python 3.8 and greater yet?
I've stumbled upon the same problem on a Mac M1. Is there a solution for this yet when using newer Python versions?
I'm having the same issue with Python 3.10.5 . Is this only resolved by using certain versions of Python? What versions are compatible?
Same issue here on M1 Mac! Seriously confusing and I'm unable to progress..
I guess It is related to another Azure ML bug - the Azure notebook service ignores your venv. Please check the real python path. I guess, it should be a default kernel like anaconda/envs/azureml_py38/bin//python. The Azure Ml Notebooks ignores custom envs for some reason, even if a custom venv is selected in the list of available kernels
Hmm sounds like a pretty serious bug if it’s selected in the kernel picker.. plus this was on my local and not an azure notebook
I am having a weird issue in Azure ML.
I like to work in isolated conda environments with its own kernel, so for each little project I create my own environment and kernel like this:
This creates the environment and the kernel, and then it's totally empty which means I have to install all modules myself. (including Azure SDK)
So I tried to install the following:
%pip install azureml %pip install azureml-core %pip install pandas %pip install azureml-dataset-runtime --upgrade
And then I tried to run a simple Load Dataset code
But then I get this error:
Missing required package "azureml-dataset-runtime", which can be installed by running: "/anaconda/envs/LightGBM/bin/python" -m pip install azureml-dataset-runtime --upgrade
And Yes, I tried to run this command, but got errors when trying to install it:
Can someone please enlighten me? Am I doing something wrong?
Thanks a lot.