storizzi / Deep-Live-Cam-Mac-Installer

Mac Installation Script for Deep-Live-Cam Public
MIT License
19 stars 6 forks source link

Installation error message in macbook M2 #6

Open jimmyken opened 4 weeks ago

jimmyken commented 4 weeks ago

In file included from insightface/thirdparty/face3d/mesh/cython/mesh_core_cython.cpp:1259: In file included from /opt/anaconda3/lib/python3.11/site-packages/numpy/core/include/numpy/arrayobject.h:5: In file included from /opt/anaconda3/lib/python3.11/site-packages/numpy/core/include/numpy/ndarrayobject.h:12: In file included from /opt/anaconda3/lib/python3.11/site-packages/numpy/core/include/numpy/ndarraytypes.h:1929: /opt/anaconda3/lib/python3.11/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: "Using deprecated NumPy API, disable it with " "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-W#warnings] 17 | #warning "Using deprecated NumPy API, disable it with " \ | ^ insightface/thirdparty/face3d/mesh/cython/mesh_core_cython.cpp:3241:13: error: use of undeclared identifier 'PyDataType_ELSIZE' 3241 | pyx_r = PyDataType_ELSIZE(pyx_v_self); | ^ insightface/thirdparty/face3d/mesh/cython/mesh_core_cython.cpp:3275:13: error: use of undeclared identifier 'PyDataType_ALIGNMENT' 3275 | pyx_r = PyDataType_ALIGNMENT(pyx_v_self); | ^ insightface/thirdparty/face3d/mesh/cython/mesh_core_cython.cpp:3313:15: error: use of undeclared identifier 'PyDataType_FIELDS' 3313 | pyx_t_1 = PyDataType_FIELDS(__pyx_v_self); | ^ insightface/thirdparty/face3d/mesh/cython/mesh_core_cython.cpp:3355:15: error: use of undeclared identifier 'PyDataType_NAMES' 3355 | pyx_t_1 = PyDataType_NAMES(pyx_v_self); | ^ insightface/thirdparty/face3d/mesh/cython/mesh_core_cython.cpp:3393:13: error: use of undeclared identifier 'PyDataType_SUBARRAY' 3393 | pyx_r = PyDataType_SUBARRAY(pyx_v_self); | ^ insightface/thirdparty/face3d/mesh/cython/mesh_core_cython.cpp:3427:13: error: use of undeclared identifier 'PyDataType_FLAGS' 3427 | pyx_r = PyDataType_FLAGS(pyx_v_self); | ^ insightface/thirdparty/face3d/mesh/cython/mesh_core_cython.cpp:3461:13: error: use of undeclared identifier 'PyArray_MultiIter_NUMITER' 3461 | pyx_r = PyArray_MultiIter_NUMITER(pyx_v_self); | ^ insightface/thirdparty/face3d/mesh/cython/mesh_core_cython.cpp:3495:13: error: use of undeclared identifier 'PyArray_MultiIter_SIZE'; did you mean 'PyArrayMultiIterObject'? 3495 | pyx_r = PyArray_MultiIter_SIZE(pyx_v_self); | ^ /opt/anaconda3/lib/python3.11/site-packages/numpy/core/include/numpy/ndarraytypes.h:1263:3: note: 'PyArrayMultiIterObject' declared here 1263 | } PyArrayMultiIterObject; | ^ insightface/thirdparty/face3d/mesh/cython/mesh_core_cython.cpp:3529:13: error: use of undeclared identifier 'PyArray_MultiIter_INDEX' 3529 | pyx_r = PyArray_MultiIter_INDEX(pyx_v_self); | ^ insightface/thirdparty/face3d/mesh/cython/mesh_core_cython.cpp:3563:13: error: use of undeclared identifier 'PyArray_MultiIter_NDIM' 3563 | pyx_r = PyArray_MultiIter_NDIM(pyx_v_self); | ^ insightface/thirdparty/face3d/mesh/cython/mesh_core_cython.cpp:3597:13: error: use of undeclared identifier 'PyArray_MultiIter_DIMS' 3597 | pyx_r = PyArray_MultiIter_DIMS(pyx_v_self); | ^ insightface/thirdparty/face3d/mesh/cython/mesh_core_cython.cpp:3631:13: error: use of undeclared identifier 'PyArray_MultiIter_ITERS'; did you mean 'PyArrayMultiIterObject'? 3631 | pyx_r = PyArray_MultiIter_ITERS(__pyx_v_self); | ^ /opt/anaconda3/lib/python3.11/site-packages/numpy/core/include/numpy/ndarraytypes.h:1263:3: note: 'PyArrayMultiIterObject' declared here 1263 | } PyArrayMultiIterObject; | ^ 1 warning and 12 errors generated. error: command '/opt/homebrew/opt/llvm/bin/clang++' failed with exit code 1 [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for insightface Failed to build insightface ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (insightface) Failed to install Python dependencies. (deep-live-cam)

storizzi commented 4 weeks ago

Hi - can you give me the full output when running the script, including any command line options you might be using, and let me know what you already had installed before using this? It looks like version incompatabilities so might be that something else was already installed of a different version - maybe a different version of Numpy? I notice that it is using python3.11 as well when the script tries to create conda environment with a python 3.10 version so very strange.

jimmyken commented 2 days ago

➜ pip install insightface
Looking in indexes: https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple Collecting insightface Using cached https://mirrors.tuna.tsinghua.edu.cn/pypi/web/packages/0b/8d/0f4af90999ca96cf8cb846eb5ae27c5ef5b390f9c090dd19e4fa76364c13/insightface-0.7.3.tar.gz (439 kB) Installing build dependencies ... done Getting requirements to build wheel ... done Preparing metadata (pyproject.toml) ... done Requirement already satisfied: numpy in /opt/anaconda3/envs/deep-live-cam/lib/python3.10/site-packages (from insightface) (1.26.4) Collecting onnx (from insightface) Using cached https://mirrors.tuna.tsinghua.edu.cn/pypi/web/packages/49/0c/f5b531a10344648ef577d0c3eca70fa40156928f1f927237eb6f107c74bb/onnx-1.16.2-cp310-cp310-macosx_11_0_universal2.whl (16.5 MB) Requirement already satisfied: tqdm in /opt/anaconda3/envs/deep-live-cam/lib/python3.10/site-packages (from insightface) (4.66.5) Requirement already satisfied: requests in /opt/anaconda3/envs/deep-live-cam/lib/python3.10/site-packages (from insightface) (2.32.3) Collecting matplotlib (from insightface) Using cached https://mirrors.tuna.tsinghua.edu.cn/pypi/web/packages/36/98/cbacbd30241369d099f9c13a2b6bc3b7068d85214f5b5795e583ac3d8aba/matplotlib-3.9.2-cp310-cp310-macosx_11_0_arm64.whl (7.8 MB) Requirement already satisfied: Pillow in /opt/anaconda3/envs/deep-live-cam/lib/python3.10/site-packages (from insightface) (10.4.0) Requirement already satisfied: scipy in /opt/anaconda3/envs/deep-live-cam/lib/python3.10/site-packages (from insightface) (1.14.0) Collecting scikit-learn (from insightface) Using cached https://mirrors.tuna.tsinghua.edu.cn/pypi/web/packages/1f/c6/ba8e5691acca616adc8f0d6f8f5e79d55b927530aa404ee712b077acf0cf/scikit_learn-1.5.1-cp310-cp310-macosx_12_0_arm64.whl (11.0 MB) Requirement already satisfied: scikit-image in /opt/anaconda3/envs/deep-live-cam/lib/python3.10/site-packages (from insightface) (0.24.0) Collecting easydict (from insightface) Using cached https://mirrors.tuna.tsinghua.edu.cn/pypi/web/packages/05/ec/fa6963f1198172c2b75c9ab6ecefb3045991f92f75f5eb41b6621b198123/easydict-1.13-py3-none-any.whl (6.8 kB) Collecting cython (from insightface) Using cached https://mirrors.tuna.tsinghua.edu.cn/pypi/web/packages/43/39/bdbec9142bc46605b54d674bf158a78b191c2b75be527c6dcf3e6dfe90b8/Cython-3.0.11-py2.py3-none-any.whl (1.2 MB) Collecting albumentations (from insightface) Using cached https://mirrors.tuna.tsinghua.edu.cn/pypi/web/packages/1e/64/27ecc9a9d0861e401c3fea4dc67ac9425d7a29e2ba48518d449618999601/albumentations-1.4.14-py3-none-any.whl (177 kB) Collecting prettytable (from insightface) Using cached https://mirrors.tuna.tsinghua.edu.cn/pypi/web/packages/d9/5a/bfdc26c0e19156992b1dc9de47f0b2e8992fe43db9981d814f860bdce2b3/prettytable-3.11.0-py3-none-any.whl (28 kB) Requirement already satisfied: PyYAML in /opt/anaconda3/envs/deep-live-cam/lib/python3.10/site-packages (from albumentations->insightface) (6.0.2) Requirement already satisfied: typing-extensions>=4.9.0 in /opt/anaconda3/envs/deep-live-cam/lib/python3.10/site-packages (from albumentations->insightface) (4.12.2) Collecting pydantic>=2.7.0 (from albumentations->insightface) Using cached https://mirrors.tuna.tsinghua.edu.cn/pypi/web/packages/e4/28/fff23284071bc1ba419635c7e86561c8b9b8cf62a5bcb459b92d7625fd38/pydantic-2.9.1-py3-none-any.whl (434 kB) Collecting albucore>=0.0.13 (from albumentations->insightface) Using cached https://mirrors.tuna.tsinghua.edu.cn/pypi/web/packages/f3/24/0c808a71a94deb9bb4bad44073f206e910a6b36895436482d79b65b9474e/albucore-0.0.14-py3-none-any.whl (8.5 kB) Collecting eval-type-backport (from albumentations->insightface) Using cached https://mirrors.tuna.tsinghua.edu.cn/pypi/web/packages/ac/ac/aa3d8e0acbcd71140420bc752d7c9779cf3a2a3bb1d7ef30944e38b2cd39/eval_type_backport-0.2.0-py3-none-any.whl (5.9 kB) Collecting opencv-python-headless>=4.9.0.80 (from albumentations->insightface) Using cached https://mirrors.tuna.tsinghua.edu.cn/pypi/web/packages/1c/9b/583c8d9259f6fc19413f83fd18dd8e6cbc8eefb0b4dc6da52dd151fe3272/opencv_python_headless-4.10.0.84-cp37-abi3-macosx_11_0_arm64.whl (54.8 MB) Requirement already satisfied: networkx>=2.8 in /opt/anaconda3/envs/deep-live-cam/lib/python3.10/site-packages (from scikit-image->insightface) (3.3) Requirement already satisfied: imageio>=2.33 in /opt/anaconda3/envs/deep-live-cam/lib/python3.10/site-packages (from scikit-image->insightface) (2.35.0) Requirement already satisfied: tifffile>=2022.8.12 in /opt/anaconda3/envs/deep-live-cam/lib/python3.10/site-packages (from scikit-image->insightface) (2024.8.10) Requirement already satisfied: packaging>=21 in /opt/anaconda3/envs/deep-live-cam/lib/python3.10/site-packages (from scikit-image->insightface) (24.1) Requirement already satisfied: lazy-loader>=0.4 in /opt/anaconda3/envs/deep-live-cam/lib/python3.10/site-packages (from scikit-image->insightface) (0.4) Collecting contourpy>=1.0.1 (from matplotlib->insightface) Using cached https://mirrors.tuna.tsinghua.edu.cn/pypi/web/packages/50/d6/c953b400219443535d412fcbbc42e7a5e823291236bc0bb88936e3cc9317/contourpy-1.3.0-cp310-cp310-macosx_11_0_arm64.whl (249 kB) Collecting cycler>=0.10 (from matplotlib->insightface) Using cached https://mirrors.tuna.tsinghua.edu.cn/pypi/web/packages/e7/05/c19819d5e3d95294a6f5947fb9b9629efb316b96de511b418c53d245aae6/cycler-0.12.1-py3-none-any.whl (8.3 kB) Collecting fonttools>=4.22.0 (from matplotlib->insightface) Using cached https://mirrors.tuna.tsinghua.edu.cn/pypi/web/packages/49/79/3976d0913db440644d14bc85ba697da7dc0847663acd6c96b0dff797f592/fonttools-4.53.1-cp310-cp310-macosx_11_0_arm64.whl (2.2 MB) Collecting kiwisolver>=1.3.1 (from matplotlib->insightface) Using cached https://mirrors.tuna.tsinghua.edu.cn/pypi/web/packages/ef/fa/65de49c85838681fc9cb05de2a68067a683717321e01ddafb5b8024286f0/kiwisolver-1.4.7-cp310-cp310-macosx_11_0_arm64.whl (64 kB) Collecting pyparsing>=2.3.1 (from matplotlib->insightface) Using cached https://mirrors.tuna.tsinghua.edu.cn/pypi/web/packages/e5/0c/0e3c05b1c87bb6a1c76d281b0f35e78d2d80ac91b5f8f524cebf77f51049/pyparsing-3.1.4-py3-none-any.whl (104 kB) Collecting python-dateutil>=2.7 (from matplotlib->insightface) Using cached https://mirrors.tuna.tsinghua.edu.cn/pypi/web/packages/ec/57/56b9bcc3c9c6a792fcbaf139543cee77261f3651ca9da0c93f5c1221264b/python_dateutil-2.9.0.post0-py2.py3-none-any.whl (229 kB) Requirement already satisfied: protobuf>=3.20.2 in /opt/anaconda3/envs/deep-live-cam/lib/python3.10/site-packages (from onnx->insightface) (5.27.3) Collecting wcwidth (from prettytable->insightface) Using cached https://mirrors.tuna.tsinghua.edu.cn/pypi/web/packages/fd/84/fd2ba7aafacbad3c4201d395674fc6348826569da3c0937e75505ead3528/wcwidth-0.2.13-py2.py3-none-any.whl (34 kB) Requirement already satisfied: charset-normalizer<4,>=2 in /opt/anaconda3/envs/deep-live-cam/lib/python3.10/site-packages (from requests->insightface) (3.3.2) Requirement already satisfied: idna<4,>=2.5 in /opt/anaconda3/envs/deep-live-cam/lib/python3.10/site-packages (from requests->insightface) (3.7) Requirement already satisfied: urllib3<3,>=1.21.1 in /opt/anaconda3/envs/deep-live-cam/lib/python3.10/site-packages (from requests->insightface) (2.2.2) Requirement already satisfied: certifi>=2017.4.17 in /opt/anaconda3/envs/deep-live-cam/lib/python3.10/site-packages (from requests->insightface) (2024.7.4) Collecting joblib>=1.2.0 (from scikit-learn->insightface) Using cached https://mirrors.tuna.tsinghua.edu.cn/pypi/web/packages/91/29/df4b9b42f2be0b623cbd5e2140cafcaa2bef0759a00b7b70104dcfe2fb51/joblib-1.4.2-py3-none-any.whl (301 kB) Collecting threadpoolctl>=3.1.0 (from scikit-learn->insightface) Using cached https://mirrors.tuna.tsinghua.edu.cn/pypi/web/packages/4b/2c/ffbf7a134b9ab11a67b0cf0726453cedd9c5043a4fe7a35d1cefa9a1bcfb/threadpoolctl-3.5.0-py3-none-any.whl (18 kB) Collecting annotated-types>=0.6.0 (from pydantic>=2.7.0->albumentations->insightface) Using cached https://mirrors.tuna.tsinghua.edu.cn/pypi/web/packages/78/b6/6307fbef88d9b5ee7421e68d78a9f162e0da4900bc5f5793f6d3d0e34fb8/annotated_types-0.7.0-py3-none-any.whl (13 kB) Collecting pydantic-core==2.23.3 (from pydantic>=2.7.0->albumentations->insightface) Using cached https://mirrors.tuna.tsinghua.edu.cn/pypi/web/packages/92/8c/c6f1a0f72328c5687acc0847baf806c4cb31c1a9321de70c3cbcbb37cece/pydantic_core-2.23.3-cp310-cp310-macosx_11_0_arm64.whl (1.8 MB) Requirement already satisfied: six>=1.5 in /opt/anaconda3/envs/deep-live-cam/lib/python3.10/site-packages (from python-dateutil>=2.7->matplotlib->insightface) (1.16.0) Building wheels for collected packages: insightface Building wheel for insightface (pyproject.toml) ... error error: subprocess-exited-with-error

× Building wheel for insightface (pyproject.toml) did not run successfully. │ exit code: 1 ╰─> [226 lines of output] WARNING: pandoc not enabled running bdist_wheel running build running build_py creating build creating build/lib.macosx-11.1-arm64-cpython-310 creating build/lib.macosx-11.1-arm64-cpython-310/insightface copying insightface/init.py -> build/lib.macosx-11.1-arm64-cpython-310/insightface creating build/lib.macosx-11.1-arm64-cpython-310/insightface/app copying insightface/app/init.py -> build/lib.macosx-11.1-arm64-cpython-310/insightface/app copying insightface/app/mask_renderer.py -> build/lib.macosx-11.1-arm64-cpython-310/insightface/app copying insightface/app/common.py -> build/lib.macosx-11.1-arm64-cpython-310/insightface/app copying insightface/app/face_analysis.py -> build/lib.macosx-11.1-arm64-cpython-310/insightface/app creating build/lib.macosx-11.1-arm64-cpython-310/insightface/utils copying insightface/utils/download.py -> build/lib.macosx-11.1-arm64-cpython-310/insightface/utils copying insightface/utils/filesystem.py -> build/lib.macosx-11.1-arm64-cpython-310/insightface/utils copying insightface/utils/init.py -> build/lib.macosx-11.1-arm64-cpython-310/insightface/utils copying insightface/utils/transform.py -> build/lib.macosx-11.1-arm64-cpython-310/insightface/utils copying insightface/utils/storage.py -> build/lib.macosx-11.1-arm64-cpython-310/insightface/utils copying insightface/utils/face_align.py -> build/lib.macosx-11.1-arm64-cpython-310/insightface/utils copying insightface/utils/constant.py -> build/lib.macosx-11.1-arm64-cpython-310/insightface/utils creating build/lib.macosx-11.1-arm64-cpython-310/insightface/model_zoo copying insightface/model_zoo/landmark.py -> build/lib.macosx-11.1-arm64-cpython-310/insightface/model_zoo copying insightface/model_zoo/inswapper.py -> build/lib.macosx-11.1-arm64-cpython-310/insightface/model_zoo copying insightface/model_zoo/arcface_onnx.py -> build/lib.macosx-11.1-arm64-cpython-310/insightface/model_zoo copying insightface/model_zoo/retinaface.py -> build/lib.macosx-11.1-arm64-cpython-310/insightface/model_zoo copying insightface/model_zoo/attribute.py -> build/lib.macosx-11.1-arm64-cpython-310/insightface/model_zoo copying insightface/model_zoo/model_zoo.py -> build/lib.macosx-11.1-arm64-cpython-310/insightface/model_zoo copying insightface/model_zoo/scrfd.py -> build/lib.macosx-11.1-arm64-cpython-310/insightface/model_zoo copying insightface/model_zoo/init.py -> build/lib.macosx-11.1-arm64-cpython-310/insightface/model_zoo copying insightface/model_zoo/model_store.py -> build/lib.macosx-11.1-arm64-cpython-310/insightface/model_zoo creating build/lib.macosx-11.1-arm64-cpython-310/insightface/commands copying insightface/commands/insightface_cli.py -> build/lib.macosx-11.1-arm64-cpython-310/insightface/commands copying insightface/commands/rec_add_mask_param.py -> build/lib.macosx-11.1-arm64-cpython-310/insightface/commands copying insightface/commands/init.py -> build/lib.macosx-11.1-arm64-cpython-310/insightface/commands copying insightface/commands/model_download.py -> build/lib.macosx-11.1-arm64-cpython-310/insightface/commands creating build/lib.macosx-11.1-arm64-cpython-310/insightface/data copying insightface/data/init.py -> build/lib.macosx-11.1-arm64-cpython-310/insightface/data copying insightface/data/rec_builder.py -> build/lib.macosx-11.1-arm64-cpython-310/insightface/data copying insightface/data/pickle_object.py -> build/lib.macosx-11.1-arm64-cpython-310/insightface/data copying insightface/data/image.py -> build/lib.macosx-11.1-arm64-cpython-310/insightface/data creating build/lib.macosx-11.1-arm64-cpython-310/insightface/thirdparty copying insightface/thirdparty/init.py -> build/lib.macosx-11.1-arm64-cpython-310/insightface/thirdparty creating build/lib.macosx-11.1-arm64-cpython-310/insightface/thirdparty/face3d copying insightface/thirdparty/face3d/init.py -> build/lib.macosx-11.1-arm64-cpython-310/insightface/thirdparty/face3d creating build/lib.macosx-11.1-arm64-cpython-310/insightface/thirdparty/face3d/mesh copying insightface/thirdparty/face3d/mesh/light.py -> build/lib.macosx-11.1-arm64-cpython-310/insightface/thirdparty/face3d/mesh copying insightface/thirdparty/face3d/mesh/render.py -> build/lib.macosx-11.1-arm64-cpython-310/insightface/thirdparty/face3d/mesh copying insightface/thirdparty/face3d/mesh/io.py -> build/lib.macosx-11.1-arm64-cpython-310/insightface/thirdparty/face3d/mesh copying insightface/thirdparty/face3d/mesh/init.py -> build/lib.macosx-11.1-arm64-cpython-310/insightface/thirdparty/face3d/mesh copying insightface/thirdparty/face3d/mesh/vis.py -> build/lib.macosx-11.1-arm64-cpython-310/insightface/thirdparty/face3d/mesh copying insightface/thirdparty/face3d/mesh/transform.py -> build/lib.macosx-11.1-arm64-cpython-310/insightface/thirdparty/face3d/mesh creating build/lib.macosx-11.1-arm64-cpython-310/insightface/thirdparty/face3d/mesh_numpy copying insightface/thirdparty/face3d/mesh_numpy/light.py -> build/lib.macosx-11.1-arm64-cpython-310/insightface/thirdparty/face3d/mesh_numpy copying insightface/thirdparty/face3d/mesh_numpy/render.py -> build/lib.macosx-11.1-arm64-cpython-310/insightface/thirdparty/face3d/mesh_numpy copying insightface/thirdparty/face3d/mesh_numpy/io.py -> build/lib.macosx-11.1-arm64-cpython-310/insightface/thirdparty/face3d/mesh_numpy copying insightface/thirdparty/face3d/mesh_numpy/init.py -> build/lib.macosx-11.1-arm64-cpython-310/insightface/thirdparty/face3d/mesh_numpy copying insightface/thirdparty/face3d/mesh_numpy/vis.py -> build/lib.macosx-11.1-arm64-cpython-310/insightface/thirdparty/face3d/mesh_numpy copying insightface/thirdparty/face3d/mesh_numpy/transform.py -> build/lib.macosx-11.1-arm64-cpython-310/insightface/thirdparty/face3d/mesh_numpy creating build/lib.macosx-11.1-arm64-cpython-310/insightface/thirdparty/face3d/morphable_model copying insightface/thirdparty/face3d/morphable_model/morphabel_model.py -> build/lib.macosx-11.1-arm64-cpython-310/insightface/thirdparty/face3d/morphable_model copying insightface/thirdparty/face3d/morphable_model/fit.py -> build/lib.macosx-11.1-arm64-cpython-310/insightface/thirdparty/face3d/morphable_model copying insightface/thirdparty/face3d/morphable_model/init.py -> build/lib.macosx-11.1-arm64-cpython-310/insightface/thirdparty/face3d/morphable_model copying insightface/thirdparty/face3d/morphable_model/load.py -> build/lib.macosx-11.1-arm64-cpython-310/insightface/thirdparty/face3d/morphable_model running egg_info writing insightface.egg-info/PKG-INFO writing dependency_links to insightface.egg-info/dependency_links.txt writing entry points to insightface.egg-info/entry_points.txt writing requirements to insightface.egg-info/requires.txt writing top-level names to insightface.egg-info/top_level.txt reading manifest file 'insightface.egg-info/SOURCES.txt' writing manifest file 'insightface.egg-info/SOURCES.txt' /private/var/folders/vf/y8qnd_1n4kv4n7jygwpvw3q40000gn/T/pip-build-env-a0qo_6mp/overlay/lib/python3.10/site-packages/setuptools/command/build_py.py:218: _Warning: Package 'insightface.data.images' is absent from the packages configuration. !!

          ********************************************************************************
          ############################
          # Package would be ignored #
          ############################
          Python recognizes 'insightface.data.images' as an importable package[^1],
          but it is absent from setuptools' `packages` configuration.

          This leads to an ambiguous overall configuration. If you want to distribute this
          package, please make sure that 'insightface.data.images' is explicitly added
          to the `packages` configuration field.

          Alternatively, you can also rely on setuptools' discovery methods
          (for example by using `find_namespace_packages(...)`/`find_namespace:`
          instead of `find_packages(...)`/`find:`).

          You can read more about "package discovery" on setuptools documentation page:

          - https://setuptools.pypa.io/en/latest/userguide/package_discovery.html

          If you don't want 'insightface.data.images' to be distributed and are
          already explicitly excluding 'insightface.data.images' via
          `find_namespace_packages(...)/find_namespace` or `find_packages(...)/find`,
          you can try to use `exclude_package_data`, or `include-package-data=False` in
          combination with a more fine grained `package-data` configuration.

          You can read more about "package data files" on setuptools documentation page:

          - https://setuptools.pypa.io/en/latest/userguide/datafiles.html

          [^1]: For Python, any directory (with suitable naming) can be imported,
                even if it does not contain any `.py` files.
                On the other hand, currently there is no concept of package data
                directory, all directories are treated like packages.
          ********************************************************************************

  !!
    check.warn(importable)
  /private/var/folders/vf/y8qnd_1n4kv4n7jygwpvw3q40000gn/T/pip-build-env-a0qo_6mp/overlay/lib/python3.10/site-packages/setuptools/command/build_py.py:218: _Warning: Package 'insightface.data.objects' is absent from the `packages` configuration.
  !!

          ********************************************************************************
          ############################
          # Package would be ignored #
          ############################
          Python recognizes 'insightface.data.objects' as an importable package[^1],
          but it is absent from setuptools' `packages` configuration.

          This leads to an ambiguous overall configuration. If you want to distribute this
          package, please make sure that 'insightface.data.objects' is explicitly added
          to the `packages` configuration field.

          Alternatively, you can also rely on setuptools' discovery methods
          (for example by using `find_namespace_packages(...)`/`find_namespace:`
          instead of `find_packages(...)`/`find:`).

          You can read more about "package discovery" on setuptools documentation page:

          - https://setuptools.pypa.io/en/latest/userguide/package_discovery.html

          If you don't want 'insightface.data.objects' to be distributed and are
          already explicitly excluding 'insightface.data.objects' via
          `find_namespace_packages(...)/find_namespace` or `find_packages(...)/find`,
          you can try to use `exclude_package_data`, or `include-package-data=False` in
          combination with a more fine grained `package-data` configuration.

          You can read more about "package data files" on setuptools documentation page:

          - https://setuptools.pypa.io/en/latest/userguide/datafiles.html

          [^1]: For Python, any directory (with suitable naming) can be imported,
                even if it does not contain any `.py` files.
                On the other hand, currently there is no concept of package data
                directory, all directories are treated like packages.
          ********************************************************************************

  !!
    check.warn(importable)
  /private/var/folders/vf/y8qnd_1n4kv4n7jygwpvw3q40000gn/T/pip-build-env-a0qo_6mp/overlay/lib/python3.10/site-packages/setuptools/command/build_py.py:218: _Warning: Package 'insightface.thirdparty.face3d.mesh.cython' is absent from the `packages` configuration.
  !!

          ********************************************************************************
          ############################
          # Package would be ignored #
          ############################
          Python recognizes 'insightface.thirdparty.face3d.mesh.cython' as an importable package[^1],
          but it is absent from setuptools' `packages` configuration.

          This leads to an ambiguous overall configuration. If you want to distribute this
          package, please make sure that 'insightface.thirdparty.face3d.mesh.cython' is explicitly added
          to the `packages` configuration field.

          Alternatively, you can also rely on setuptools' discovery methods
          (for example by using `find_namespace_packages(...)`/`find_namespace:`
          instead of `find_packages(...)`/`find:`).

          You can read more about "package discovery" on setuptools documentation page:

          - https://setuptools.pypa.io/en/latest/userguide/package_discovery.html

          If you don't want 'insightface.thirdparty.face3d.mesh.cython' to be distributed and are
          already explicitly excluding 'insightface.thirdparty.face3d.mesh.cython' via
          `find_namespace_packages(...)/find_namespace` or `find_packages(...)/find`,
          you can try to use `exclude_package_data`, or `include-package-data=False` in
          combination with a more fine grained `package-data` configuration.

          You can read more about "package data files" on setuptools documentation page:

          - https://setuptools.pypa.io/en/latest/userguide/datafiles.html

          [^1]: For Python, any directory (with suitable naming) can be imported,
                even if it does not contain any `.py` files.
                On the other hand, currently there is no concept of package data
                directory, all directories are treated like packages.
          ********************************************************************************

  !!
    check.warn(importable)
  creating build/lib.macosx-11.1-arm64-cpython-310/insightface/data/images
  copying insightface/data/images/Tom_Hanks_54745.png -> build/lib.macosx-11.1-arm64-cpython-310/insightface/data/images
  copying insightface/data/images/mask_black.jpg -> build/lib.macosx-11.1-arm64-cpython-310/insightface/data/images
  copying insightface/data/images/mask_blue.jpg -> build/lib.macosx-11.1-arm64-cpython-310/insightface/data/images
  copying insightface/data/images/mask_green.jpg -> build/lib.macosx-11.1-arm64-cpython-310/insightface/data/images
  copying insightface/data/images/mask_white.jpg -> build/lib.macosx-11.1-arm64-cpython-310/insightface/data/images
  copying insightface/data/images/t1.jpg -> build/lib.macosx-11.1-arm64-cpython-310/insightface/data/images
  creating build/lib.macosx-11.1-arm64-cpython-310/insightface/data/objects
  copying insightface/data/objects/meanshape_68.pkl -> build/lib.macosx-11.1-arm64-cpython-310/insightface/data/objects
  creating build/lib.macosx-11.1-arm64-cpython-310/insightface/thirdparty/face3d/mesh/cython
  copying insightface/thirdparty/face3d/mesh/cython/mesh_core.cpp -> build/lib.macosx-11.1-arm64-cpython-310/insightface/thirdparty/face3d/mesh/cython
  copying insightface/thirdparty/face3d/mesh/cython/mesh_core.h -> build/lib.macosx-11.1-arm64-cpython-310/insightface/thirdparty/face3d/mesh/cython
  copying insightface/thirdparty/face3d/mesh/cython/mesh_core_cython.c -> build/lib.macosx-11.1-arm64-cpython-310/insightface/thirdparty/face3d/mesh/cython
  copying insightface/thirdparty/face3d/mesh/cython/mesh_core_cython.cpp -> build/lib.macosx-11.1-arm64-cpython-310/insightface/thirdparty/face3d/mesh/cython
  copying insightface/thirdparty/face3d/mesh/cython/mesh_core_cython.pyx -> build/lib.macosx-11.1-arm64-cpython-310/insightface/thirdparty/face3d/mesh/cython
  copying insightface/thirdparty/face3d/mesh/cython/setup.py -> build/lib.macosx-11.1-arm64-cpython-310/insightface/thirdparty/face3d/mesh/cython
  running build_ext
  building 'insightface.thirdparty.face3d.mesh.cython.mesh_core_cython' extension
  creating build/temp.macosx-11.1-arm64-cpython-310
  creating build/temp.macosx-11.1-arm64-cpython-310/insightface
  creating build/temp.macosx-11.1-arm64-cpython-310/insightface/thirdparty
  creating build/temp.macosx-11.1-arm64-cpython-310/insightface/thirdparty/face3d
  creating build/temp.macosx-11.1-arm64-cpython-310/insightface/thirdparty/face3d/mesh
  creating build/temp.macosx-11.1-arm64-cpython-310/insightface/thirdparty/face3d/mesh/cython
  clang++ -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /opt/anaconda3/envs/deep-live-cam/include -arch arm64 -fPIC -O2 -isystem /opt/anaconda3/envs/deep-live-cam/include -arch arm64 -Iinsightface/thirdparty/face3d/mesh/cython -I/opt/homebrew/opt/portaudio/include/ -I/opt/anaconda3/envs/deep-live-cam/include/python3.10 -c insightface/thirdparty/face3d/mesh/cython/mesh_core.cpp -o build/temp.macosx-11.1-arm64-cpython-310/insightface/thirdparty/face3d/mesh/cython/mesh_core.o
  clang++ -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /opt/anaconda3/envs/deep-live-cam/include -arch arm64 -fPIC -O2 -isystem /opt/anaconda3/envs/deep-live-cam/include -arch arm64 -Iinsightface/thirdparty/face3d/mesh/cython -I/opt/homebrew/opt/portaudio/include/ -I/opt/anaconda3/envs/deep-live-cam/include/python3.10 -c insightface/thirdparty/face3d/mesh/cython/mesh_core_cython.cpp -o build/temp.macosx-11.1-arm64-cpython-310/insightface/thirdparty/face3d/mesh/cython/mesh_core_cython.o
  insightface/thirdparty/face3d/mesh/cython/mesh_core_cython.cpp:1259:10: fatal error: 'numpy/arrayobject.h' file not found
   1259 | #include "numpy/arrayobject.h"
        |          ^~~~~~~~~~~~~~~~~~~~~
  1 error generated.
  error: command '/opt/homebrew/opt/llvm/bin/clang++' failed with exit code 1
  [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for insightface Failed to build insightface ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (insightface) (deep-live-cam)