0

I'm trying to install the "deeplabcut[gui]" through the pip, But I met the problem like the following:

 error: Command "clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /Users/miniforge3/envs/DEEPLABCUT_M1/include -arch arm64 -fPIC -O2 -isystem /Users/miniforge3/envs/DEEPLABCUT_M1/include -arch arm64 -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-11.0-arm64-3.8/numpy/core/src/umath -Ibuild/src.macosx-11.0-arm64-3.8/numpy/core/src/npymath -Ibuild/src.macosx-11.0-arm64-3.8/numpy/core/src/common -Inumpy/core/include -Ibuild/src.macosx-11.0-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/miniforge3/envs/DEEPLABCUT_M1/include/python3.8 -Ibuild/src.macosx-11.0-arm64-3.8/numpy/core/src/common -Ibuild/src.macosx-11.0-arm64-3.8/numpy/core/src/npymath -Ibuild/src.macosx-11.0-arm64-3.8/numpy/core/src/common -Ibuild/src.macosx-11.0-arm64-3.8/numpy/core/src/npymath -c numpy/core/src/multiarray/array_assign_scalar.c -o build/temp.macosx-11.0-arm64-cpython-38/numpy/core/src/multiarray/array_assign_scalar.o -MMD -MF build/temp.macosx-11.0-arm64-cpython-38/numpy/core/src/multiarray/array_assign_scalar.o.d -faltivec -I/System/Library/Frameworks/vecLib.framework/Headers" failed with exit status 1

My equipment is MacOS M1 pro Monterey 12.3.1 and the python version is 3.8.13, tensorflow version is 2.4.1. I was following the instruction of https://github.com/DeepLabCut/DeepLabCut/blob/8fc83b64a04a8e0e962fd51a30262237d2bb5695/docs/recipes/installTips.md#deeplabcut-m1-chip-installation-environment-instructions I also met the problem of hdf5 before this, I brew installed it and exported it, which I think it's solved. But does anyone know how to solve this?

0 Answers0