You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I try to install via 'pip install ydata-quality' I get the below errors:
...
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.8/numpy/core/src/umath -Ibuild/src.macosx-12-arm64-3.8/numpy/core/src/npymath -Ibuild/src.macosx-12-arm64-3.8/numpy/core/src/common -Inumpy/core/include -Ibuild/src.macosx-12-arm64-3.8/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/Users/lanekubicki/projects/fletcher/venv/include -I/opt/homebrew/opt/[email protected]/Frameworks/Python.framework/Versions/3.8/include/python3.8 -Ibuild/src.macosx-12-arm64-3.8/numpy/core/src/common -Ibuild/src.macosx-12-arm64-3.8/numpy/core/src/npymath -Ibuild/src.macosx-12-arm64-3.8/numpy/core/src/common -Ibuild/src.macosx-12-arm64-3.8/numpy/core/src/npymath -c numpy/core/src/multiarray/conversion_utils.c -o build/temp.macosx-12-arm64-cpython-38/numpy/core/src/multiarray/conversion_utils.o -MMD -MF build/temp.macosx-12-arm64-cpython-38/numpy/core/src/multiarray/conversion_utils.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: legacy-install-failure
× 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.
...
Expected behaviour
Expected it to just install normally and resolve dependency conflicts as expected w/o clang error on macbook.
Fresh venv with appropriate version of pandas, scipy, numpy, etc installed accordingly (just went through requirements.txt manually and found the package version i needded - just the main ones
Don't forget to assign:
Environment: dev - locally inside venv
Actual Behaviour
When I try to install via 'pip install ydata-quality' I get the below errors:
Expected behaviour
Expected it to just install normally and resolve dependency conflicts as expected w/o clang error on macbook.
Steps To Reproduce
Solution
I'm able to finally install by doing the below commands partially grabbed from here (https://stackoverflow.com/questions/65825346/pip-install-pandas-results-in-error-python3-8-pycharm-apple-silicon)
Then I finally run this and installed successfully:
EDIT: Afterwards the numpy version was weird so I ran this and all good (just gottadeal with mismatching pkg messages)
pip install --upgrade numpy
The text was updated successfully, but these errors were encountered: