gallantlab / pycortex

Pycortex is a python-based toolkit for surface visualization of fMRI data
https://gallantlab.github.io/pycortex
BSD 2-Clause "Simplified" License
581 stars 137 forks source link

ERROR: Failed building wheel for pycortex #532

Closed Initiated0 closed 5 months ago

Initiated0 commented 5 months ago

After following this:

First, install some required dependencies (if not already installed)

pip install -U setuptools wheel numpy cython

Install the latest release of pycortex from pip

pip install -U pycortex

here is the entire error:

(torch) nayeemmohammad@Nayeems-MacBook-Pro ~ % pip install -U pycortex
Collecting pycortex Using cached pycortex-1.2.7.tar.gz (37.2 MB) Installing build dependencies ... done Getting requirements to build wheel ... done Preparing metadata (pyproject.toml) ... done Collecting future (from pycortex) Using cached future-1.0.0-py3-none-any.whl.metadata (4.0 kB) Requirement already satisfied: numpy in ./anaconda3/envs/torch/lib/python3.9/site-packages (from pycortex) (1.26.4) Requirement already satisfied: scipy in ./anaconda3/envs/torch/lib/python3.9/site-packages (from pycortex) (1.12.0) Requirement already satisfied: tornado>=4.3 in ./anaconda3/envs/torch/lib/python3.9/site-packages (from pycortex) (6.3.3) Collecting shapely (from pycortex) Using cached shapely-2.0.3-cp39-cp39-macosx_11_0_arm64.whl.metadata (7.0 kB) Requirement already satisfied: lxml in ./anaconda3/envs/torch/lib/python3.9/site-packages (from pycortex) (5.1.0) Collecting html5lib (from pycortex) Using cached html5lib-1.1-py2.py3-none-any.whl.metadata (16 kB) Collecting h5py (from pycortex) Using cached h5py-3.10.0-cp39-cp39-macosx_11_0_arm64.whl.metadata (2.5 kB) Collecting numexpr (from pycortex) Using cached numexpr-2.10.0-cp39-cp39-macosx_11_0_arm64.whl.metadata (7.9 kB) Requirement already satisfied: cython<3.0 in ./anaconda3/envs/torch/lib/python3.9/site-packages (from pycortex) (0.29.37) Requirement already satisfied: matplotlib in ./anaconda3/envs/torch/lib/python3.9/site-packages (from pycortex) (3.5.3) Requirement already satisfied: pillow in ./anaconda3/envs/torch/lib/python3.9/site-packages (from pycortex) (10.2.0) Requirement already satisfied: nibabel>=2.1 in ./anaconda3/envs/torch/lib/python3.9/site-packages (from pycortex) (5.2.1) Requirement already satisfied: networkx>=2.1 in ./anaconda3/envs/torch/lib/python3.9/site-packages (from pycortex) (3.1) Collecting imageio (from pycortex) Using cached imageio-2.34.0-py3-none-any.whl.metadata (4.9 kB) Requirement already satisfied: wget in ./anaconda3/envs/torch/lib/python3.9/site-packages (from pycortex) (3.2) Requirement already satisfied: packaging>=17 in ./anaconda3/envs/torch/lib/python3.9/site-packages (from nibabel>=2.1->pycortex) (23.2) Requirement already satisfied: six>=1.9 in ./anaconda3/envs/torch/lib/python3.9/site-packages (from html5lib->pycortex) (1.16.0) Requirement already satisfied: webencodings in ./anaconda3/envs/torch/lib/python3.9/site-packages (from html5lib->pycortex) (0.5.1) Requirement already satisfied: cycler>=0.10 in ./anaconda3/envs/torch/lib/python3.9/site-packages (from matplotlib->pycortex) (0.11.0) Requirement already satisfied: fonttools>=4.22.0 in ./anaconda3/envs/torch/lib/python3.9/site-packages (from matplotlib->pycortex) (4.25.0) Requirement already satisfied: kiwisolver>=1.0.1 in ./anaconda3/envs/torch/lib/python3.9/site-packages (from matplotlib->pycortex) (1.4.4) Requirement already satisfied: pyparsing>=2.2.1 in ./anaconda3/envs/torch/lib/python3.9/site-packages (from matplotlib->pycortex) (3.0.9) Requirement already satisfied: python-dateutil>=2.7 in ./anaconda3/envs/torch/lib/python3.9/site-packages (from matplotlib->pycortex) (2.8.2) Using cached future-1.0.0-py3-none-any.whl (491 kB) Using cached h5py-3.10.0-cp39-cp39-macosx_11_0_arm64.whl (2.7 MB) Using cached html5lib-1.1-py2.py3-none-any.whl (112 kB) Using cached imageio-2.34.0-py3-none-any.whl (313 kB) Using cached numexpr-2.10.0-cp39-cp39-macosx_11_0_arm64.whl (92 kB) Using cached shapely-2.0.3-cp39-cp39-macosx_11_0_arm64.whl (1.3 MB) Building wheels for collected packages: pycortex Building wheel for pycortex (pyproject.toml) ... error error: subprocess-exited-with-error

× Building wheel for pycortex (pyproject.toml) did not run successfully. │ exit code: 1 ╰─> [551 lines of output]

:5: DeprecationWarning: `numpy.distutils` is deprecated since NumPy 1.23.0, as a result of the deprecation of `distutils` itself. It will be removed for Python >= 3.12. For older Python versions it will remain present. It is recommended to use `setuptools < 60.0` for those Python versions. For more details, see: https://numpy.org/devdocs/reference/distutils_status_migration.html running bdist_wheel running build running build_py creating build creating build/lib.macosx-11.0-arm64-cpython-39 creating build/lib.macosx-11.0-arm64-cpython-39/cortex copying cortex/options.py -> build/lib.macosx-11.0-arm64-cpython-39/cortex copying cortex/fmriprep.py -> build/lib.macosx-11.0-arm64-cpython-39/cortex copying cortex/freesurfer.py -> build/lib.macosx-11.0-arm64-cpython-39/cortex copying cortex/rois.py -> build/lib.macosx-11.0-arm64-cpython-39/cortex copying cortex/version.py -> build/lib.macosx-11.0-arm64-cpython-39/cortex copying cortex/align.py -> build/lib.macosx-11.0-arm64-cpython-39/cortex copying cortex/testing_utils.py -> build/lib.macosx-11.0-arm64-cpython-39/cortex copying cortex/database.py -> build/lib.macosx-11.0-arm64-cpython-39/cortex copying cortex/mni.py -> build/lib.macosx-11.0-arm64-cpython-39/cortex copying cortex/__init__.py -> build/lib.macosx-11.0-arm64-cpython-39/cortex copying cortex/formats_old.py -> build/lib.macosx-11.0-arm64-cpython-39/cortex copying cortex/volume.py -> build/lib.macosx-11.0-arm64-cpython-39/cortex copying cortex/appdirs.py -> build/lib.macosx-11.0-arm64-cpython-39/cortex copying cortex/xfm.py -> build/lib.macosx-11.0-arm64-cpython-39/cortex copying cortex/mp.py -> build/lib.macosx-11.0-arm64-cpython-39/cortex copying cortex/utils.py -> build/lib.macosx-11.0-arm64-cpython-39/cortex copying cortex/surfinfo.py -> build/lib.macosx-11.0-arm64-cpython-39/cortex copying cortex/mayavi_aligner.py -> build/lib.macosx-11.0-arm64-cpython-39/cortex copying cortex/segment.py -> build/lib.macosx-11.0-arm64-cpython-39/cortex copying cortex/brainctm.py -> build/lib.macosx-11.0-arm64-cpython-39/cortex copying cortex/anat.py -> build/lib.macosx-11.0-arm64-cpython-39/cortex copying cortex/svgoverlay.py -> build/lib.macosx-11.0-arm64-cpython-39/cortex creating build/lib.macosx-11.0-arm64-cpython-39/cortex/webgl copying cortex/webgl/__init__.py -> build/lib.macosx-11.0-arm64-cpython-39/cortex/webgl copying cortex/webgl/serve.py -> build/lib.macosx-11.0-arm64-cpython-39/cortex/webgl copying cortex/webgl/view.py -> build/lib.macosx-11.0-arm64-cpython-39/cortex/webgl copying cortex/webgl/FallbackLoader.py -> build/lib.macosx-11.0-arm64-cpython-39/cortex/webgl copying cortex/webgl/htmlembed.py -> build/lib.macosx-11.0-arm64-cpython-39/cortex/webgl copying cortex/webgl/data.py -> build/lib.macosx-11.0-arm64-cpython-39/cortex/webgl creating build/lib.macosx-11.0-arm64-cpython-39/cortex/mapper copying cortex/mapper/patch.py -> build/lib.macosx-11.0-arm64-cpython-39/cortex/mapper copying cortex/mapper/mapper.py -> build/lib.macosx-11.0-arm64-cpython-39/cortex/mapper copying cortex/mapper/line.py -> build/lib.macosx-11.0-arm64-cpython-39/cortex/mapper copying cortex/mapper/__init__.py -> build/lib.macosx-11.0-arm64-cpython-39/cortex/mapper copying cortex/mapper/volume.py -> build/lib.macosx-11.0-arm64-cpython-39/cortex/mapper copying cortex/mapper/point.py -> build/lib.macosx-11.0-arm64-cpython-39/cortex/mapper copying cortex/mapper/samplers.py -> build/lib.macosx-11.0-arm64-cpython-39/cortex/mapper creating build/lib.macosx-11.0-arm64-cpython-39/cortex/dataset copying cortex/dataset/__init__.py -> build/lib.macosx-11.0-arm64-cpython-39/cortex/dataset copying cortex/dataset/view2D.py -> build/lib.macosx-11.0-arm64-cpython-39/cortex/dataset copying cortex/dataset/dataset.py -> build/lib.macosx-11.0-arm64-cpython-39/cortex/dataset copying cortex/dataset/braindata.py -> build/lib.macosx-11.0-arm64-cpython-39/cortex/dataset copying cortex/dataset/viewRGB.py -> build/lib.macosx-11.0-arm64-cpython-39/cortex/dataset copying cortex/dataset/views.py -> build/lib.macosx-11.0-arm64-cpython-39/cortex/dataset creating build/lib.macosx-11.0-arm64-cpython-39/cortex/blender copying cortex/blender/__init__.py -> build/lib.macosx-11.0-arm64-cpython-39/cortex/blender copying cortex/blender/blendlib.py -> build/lib.macosx-11.0-arm64-cpython-39/cortex/blender creating build/lib.macosx-11.0-arm64-cpython-39/cortex/tests copying cortex/tests/test_utils.py -> build/lib.macosx-11.0-arm64-cpython-39/cortex/tests copying cortex/tests/__init__.py -> build/lib.macosx-11.0-arm64-cpython-39/cortex/tests copying cortex/tests/test_formats.py -> build/lib.macosx-11.0-arm64-cpython-39/cortex/tests copying cortex/tests/test_dataset.py -> build/lib.macosx-11.0-arm64-cpython-39/cortex/tests copying cortex/tests/test_quickflat.py -> build/lib.macosx-11.0-arm64-cpython-39/cortex/tests copying cortex/tests/test_freesurfer.py -> build/lib.macosx-11.0-arm64-cpython-39/cortex/tests copying cortex/tests/test_polyutils.py -> build/lib.macosx-11.0-arm64-cpython-39/cortex/tests creating build/lib.macosx-11.0-arm64-cpython-39/cortex/quickflat copying cortex/quickflat/__init__.py -> build/lib.macosx-11.0-arm64-cpython-39/cortex/quickflat copying cortex/quickflat/view.py -> build/lib.macosx-11.0-arm64-cpython-39/cortex/quickflat copying cortex/quickflat/utils.py -> build/lib.macosx-11.0-arm64-cpython-39/cortex/quickflat copying cortex/quickflat/composite.py -> build/lib.macosx-11.0-arm64-cpython-39/cortex/quickflat creating build/lib.macosx-11.0-arm64-cpython-39/cortex/polyutils copying cortex/polyutils/subsurface.py -> build/lib.macosx-11.0-arm64-cpython-39/cortex/polyutils copying cortex/polyutils/distortion.py -> build/lib.macosx-11.0-arm64-cpython-39/cortex/polyutils copying cortex/polyutils/misc.py -> build/lib.macosx-11.0-arm64-cpython-39/cortex/polyutils copying cortex/polyutils/exact_geodesic.py -> build/lib.macosx-11.0-arm64-cpython-39/cortex/polyutils copying cortex/polyutils/__init__.py -> build/lib.macosx-11.0-arm64-cpython-39/cortex/polyutils copying cortex/polyutils/surface.py -> build/lib.macosx-11.0-arm64-cpython-39/cortex/polyutils creating build/lib.macosx-11.0-arm64-cpython-39/cortex/export copying cortex/export/save_views.py -> build/lib.macosx-11.0-arm64-cpython-39/cortex/export copying cortex/export/__init__.py -> build/lib.macosx-11.0-arm64-cpython-39/cortex/export copying cortex/export/_default_params.py -> build/lib.macosx-11.0-arm64-cpython-39/cortex/export copying cortex/export/panels.py -> build/lib.macosx-11.0-arm64-cpython-39/cortex/export running egg_info writing pycortex.egg-info/PKG-INFO writing dependency_links to pycortex.egg-info/dependency_links.txt writing requirements to pycortex.egg-info/requires.txt writing top-level names to pycortex.egg-info/top_level.txt dependency /private/var/folders/7l/cy7mfngd371c7pcfxsqwdtpr0000gn/T/pip-build-env-jekf22iu/overlay/lib/python3.9/site-packages/numpy/core/include/numpy/arrayobject.h won't be automatically included in the manifest: the path must be relative dependency /private/var/folders/7l/cy7mfngd371c7pcfxsqwdtpr0000gn/T/pip-build-env-jekf22iu/overlay/lib/python3.9/site-packages/numpy/core/include/numpy/arrayscalars.h won't be automatically included in the manifest: the path must be relative dependency /private/var/folders/7l/cy7mfngd371c7pcfxsqwdtpr0000gn/T/pip-build-env-jekf22iu/overlay/lib/python3.9/site-packages/numpy/core/include/numpy/ndarrayobject.h won't be automatically included in the manifest: the path must be relative dependency /private/var/folders/7l/cy7mfngd371c7pcfxsqwdtpr0000gn/T/pip-build-env-jekf22iu/overlay/lib/python3.9/site-packages/numpy/core/include/numpy/ndarraytypes.h won't be automatically included in the manifest: the path must be relative dependency /private/var/folders/7l/cy7mfngd371c7pcfxsqwdtpr0000gn/T/pip-build-env-jekf22iu/overlay/lib/python3.9/site-packages/numpy/core/include/numpy/ufuncobject.h won't be automatically included in the manifest: the path must be relative dependency /private/var/folders/7l/cy7mfngd371c7pcfxsqwdtpr0000gn/T/pip-build-env-jekf22iu/overlay/lib/python3.9/site-packages/numpy/core/include/numpy/arrayobject.h won't be automatically included in the manifest: the path must be relative dependency /private/var/folders/7l/cy7mfngd371c7pcfxsqwdtpr0000gn/T/pip-build-env-jekf22iu/overlay/lib/python3.9/site-packages/numpy/core/include/numpy/arrayscalars.h won't be automatically included in the manifest: the path must be relative dependency /private/var/folders/7l/cy7mfngd371c7pcfxsqwdtpr0000gn/T/pip-build-env-jekf22iu/overlay/lib/python3.9/site-packages/numpy/core/include/numpy/ndarrayobject.h won't be automatically included in the manifest: the path must be relative dependency /private/var/folders/7l/cy7mfngd371c7pcfxsqwdtpr0000gn/T/pip-build-env-jekf22iu/overlay/lib/python3.9/site-packages/numpy/core/include/numpy/ndarraytypes.h won't be automatically included in the manifest: the path must be relative dependency /private/var/folders/7l/cy7mfngd371c7pcfxsqwdtpr0000gn/T/pip-build-env-jekf22iu/overlay/lib/python3.9/site-packages/numpy/core/include/numpy/ufuncobject.h won't be automatically included in the manifest: the path must be relative reading manifest file 'pycortex.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE' writing manifest file 'pycortex.egg-info/SOURCES.txt' /private/var/folders/7l/cy7mfngd371c7pcfxsqwdtpr0000gn/T/pip-build-env-jekf22iu/overlay/lib/python3.9/site-packages/setuptools/command/build_py.py:207: _Warning: Package 'cortex.webgl.resources.css' is absent from the `packages` configuration. !! ******************************************************************************** ############################ # Package would be ignored # ############################ Python recognizes 'cortex.webgl.resources.css' 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 'cortex.webgl.resources.css' 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 'cortex.webgl.resources.css' to be distributed and are already explicitly excluding 'cortex.webgl.resources.css' 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/7l/cy7mfngd371c7pcfxsqwdtpr0000gn/T/pip-build-env-jekf22iu/overlay/lib/python3.9/site-packages/setuptools/command/build_py.py:207: _Warning: Package 'cortex.webgl.resources.css.images' is absent from the `packages` configuration. !! ******************************************************************************** ############################ # Package would be ignored # ############################ Python recognizes 'cortex.webgl.resources.css.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 'cortex.webgl.resources.css.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 'cortex.webgl.resources.css.images' to be distributed and are already explicitly excluding 'cortex.webgl.resources.css.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/7l/cy7mfngd371c7pcfxsqwdtpr0000gn/T/pip-build-env-jekf22iu/overlay/lib/python3.9/site-packages/setuptools/command/build_py.py:207: _Warning: Package 'cortex.webgl.resources.explo_demo' is absent from the `packages` configuration. !! ******************************************************************************** ############################ # Package would be ignored # ############################ Python recognizes 'cortex.webgl.resources.explo_demo' 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 'cortex.webgl.resources.explo_demo' 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 'cortex.webgl.resources.explo_demo' to be distributed and are already explicitly excluding 'cortex.webgl.resources.explo_demo' 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/7l/cy7mfngd371c7pcfxsqwdtpr0000gn/T/pip-build-env-jekf22iu/overlay/lib/python3.9/site-packages/setuptools/command/build_py.py:207: _Warning: Package 'cortex.webgl.resources.js' is absent from the `packages` configuration. !! ******************************************************************************** ############################ # Package would be ignored # ############################ Python recognizes 'cortex.webgl.resources.js' 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 'cortex.webgl.resources.js' 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 'cortex.webgl.resources.js' to be distributed and are already explicitly excluding 'cortex.webgl.resources.js' 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/7l/cy7mfngd371c7pcfxsqwdtpr0000gn/T/pip-build-env-jekf22iu/overlay/lib/python3.9/site-packages/setuptools/command/build_py.py:207: _Warning: Package 'cortex.webgl.resources.js.ctm' is absent from the `packages` configuration. !! ******************************************************************************** ############################ # Package would be ignored # ############################ Python recognizes 'cortex.webgl.resources.js.ctm' 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 'cortex.webgl.resources.js.ctm' 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 'cortex.webgl.resources.js.ctm' to be distributed and are already explicitly excluding 'cortex.webgl.resources.js.ctm' 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/7l/cy7mfngd371c7pcfxsqwdtpr0000gn/T/pip-build-env-jekf22iu/overlay/lib/python3.9/site-packages/setuptools/command/build_py.py:207: _Warning: Package 'cortex.webgl.resources.js.ctm.license' is absent from the `packages` configuration. !! ******************************************************************************** ############################ # Package would be ignored # ############################ Python recognizes 'cortex.webgl.resources.js.ctm.license' 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 'cortex.webgl.resources.js.ctm.license' 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 'cortex.webgl.resources.js.ctm.license' to be distributed and are already explicitly excluding 'cortex.webgl.resources.js.ctm.license' 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/7l/cy7mfngd371c7pcfxsqwdtpr0000gn/T/pip-build-env-jekf22iu/overlay/lib/python3.9/site-packages/setuptools/command/build_py.py:207: _Warning: Package 'cortex.webgl.resources.json' is absent from the `packages` configuration. !! ******************************************************************************** ############################ # Package would be ignored # ############################ Python recognizes 'cortex.webgl.resources.json' 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 'cortex.webgl.resources.json' 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 'cortex.webgl.resources.json' to be distributed and are already explicitly excluding 'cortex.webgl.resources.json' 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) copying cortex/bbr.sch -> build/lib.macosx-11.0-arm64-cpython-39/cortex copying cortex/defaults.cfg -> build/lib.macosx-11.0-arm64-cpython-39/cortex copying cortex/formats.c -> build/lib.macosx-11.0-arm64-cpython-39/cortex copying cortex/formats.pyx -> build/lib.macosx-11.0-arm64-cpython-39/cortex copying cortex/openctm.c -> build/lib.macosx-11.0-arm64-cpython-39/cortex copying cortex/openctm.pxd -> build/lib.macosx-11.0-arm64-cpython-39/cortex copying cortex/openctm.pyx -> build/lib.macosx-11.0-arm64-cpython-39/cortex copying cortex/svgbase.xml -> build/lib.macosx-11.0-arm64-cpython-39/cortex copying cortex/webgl/demo.html -> build/lib.macosx-11.0-arm64-cpython-39/cortex/webgl copying cortex/webgl/explo_demo.html -> build/lib.macosx-11.0-arm64-cpython-39/cortex/webgl copying cortex/webgl/favicon.ico -> build/lib.macosx-11.0-arm64-cpython-39/cortex/webgl copying cortex/webgl/mixer.html -> build/lib.macosx-11.0-arm64-cpython-39/cortex/webgl copying cortex/webgl/public.html -> build/lib.macosx-11.0-arm64-cpython-39/cortex/webgl copying cortex/webgl/simple.html -> build/lib.macosx-11.0-arm64-cpython-39/cortex/webgl copying cortex/webgl/static.html -> build/lib.macosx-11.0-arm64-cpython-39/cortex/webgl copying cortex/webgl/template.html -> build/lib.macosx-11.0-arm64-cpython-39/cortex/webgl copying cortex/webgl/wngraph-labeled.svg -> build/lib.macosx-11.0-arm64-cpython-39/cortex/webgl copying cortex/webgl/wngraph-minimal.html -> build/lib.macosx-11.0-arm64-cpython-39/cortex/webgl copying cortex/webgl/wngraph.html -> build/lib.macosx-11.0-arm64-cpython-39/cortex/webgl copying cortex/webgl/wngraph.svg -> build/lib.macosx-11.0-arm64-cpython-39/cortex/webgl creating build/lib.macosx-11.0-arm64-cpython-39/cortex/webgl/resources creating build/lib.macosx-11.0-arm64-cpython-39/cortex/webgl/resources/css copying cortex/webgl/resources/css/demo.css -> build/lib.macosx-11.0-arm64-cpython-39/cortex/webgl/resources/css copying cortex/webgl/resources/css/jquery-ui.min.css -> build/lib.macosx-11.0-arm64-cpython-39/cortex/webgl/resources/css copying cortex/webgl/resources/css/jquery.miniColors.css -> build/lib.macosx-11.0-arm64-cpython-39/cortex/webgl/resources/css copying cortex/webgl/resources/css/jsplot.css -> build/lib.macosx-11.0-arm64-cpython-39/cortex/webgl/resources/css copying cortex/webgl/resources/css/mriview.css -> build/lib.macosx-11.0-arm64-cpython-39/cortex/webgl/resources/css copying cortex/webgl/resources/css/select2-4.0.3.min.css -> build/lib.macosx-11.0-arm64-cpython-39/cortex/webgl/resources/css copying cortex/webgl/resources/css/w2ui-1.2.min.css -> build/lib.macosx-11.0-arm64-cpython-39/cortex/webgl/resources/css copying cortex/webgl/resources/css/w2ui-1.4.2.css -> build/lib.macosx-11.0-arm64-cpython-39/cortex/webgl/resources/css copying cortex/webgl/resources/css/w2ui-1.4.2.min.css -> build/lib.macosx-11.0-arm64-cpython-39/cortex/webgl/resources/css creating build/lib.macosx-11.0-arm64-cpython-39/cortex/webgl/resources/css/images copying cortex/webgl/resources/css/images/colors.png -> build/lib.macosx-11.0-arm64-cpython-39/cortex/webgl/resources/css/images copying cortex/webgl/resources/css/images/control-pause.png -> build/lib.macosx-11.0-arm64-cpython-39/cortex/webgl/resources/css/images copying cortex/webgl/resources/css/images/control-play.png -> build/lib.macosx-11.0-arm64-cpython-39/cortex/webgl/resources/css/images copying cortex/webgl/resources/css/images/loading.gif -> build/lib.macosx-11.0-arm64-cpython-39/cortex/webgl/resources/css/images copying cortex/webgl/resources/css/images/magnifying_glass.png -> build/lib.macosx-11.0-arm64-cpython-39/cortex/webgl/resources/css/images copying cortex/webgl/resources/css/images/trigger.png -> build/lib.macosx-11.0-arm64-cpython-39/cortex/webgl/resources/css/images copying cortex/webgl/resources/css/images/ui-bg_diagonals-thick_18_b81900_40x40.png -> build/lib.macosx-11.0-arm64-cpython-39/cortex/webgl/resources/css/images copying cortex/webgl/resources/css/images/ui-bg_diagonals-thick_20_666666_40x40.png -> build/lib.macosx-11.0-arm64-cpython-39/cortex/webgl/resources/css/images copying cortex/webgl/resources/css/images/ui-bg_flat_10_000000_40x100.png -> build/lib.macosx-11.0-arm64-cpython-39/cortex/webgl/resources/css/images copying cortex/webgl/resources/css/images/ui-bg_glass_100_f6f6f6_1x400.png -> build/lib.macosx-11.0-arm64-cpython-39/cortex/webgl/resources/css/images copying cortex/webgl/resources/css/images/ui-bg_glass_100_fdf5ce_1x400.png -> build/lib.macosx-11.0-arm64-cpython-39/cortex/webgl/resources/css/images copying cortex/webgl/resources/css/images/ui-bg_glass_65_ffffff_1x400.png -> build/lib.macosx-11.0-arm64-cpython-39/cortex/webgl/resources/css/images copying cortex/webgl/resources/css/images/ui-bg_gloss-wave_35_f6a828_500x100.png -> build/lib.macosx-11.0-arm64-cpython-39/cortex/webgl/resources/css/images copying cortex/webgl/resources/css/images/ui-bg_highlight-soft_100_eeeeee_1x100.png -> build/lib.macosx-11.0-arm64-cpython-39/cortex/webgl/resources/css/images copying cortex/webgl/resources/css/images/ui-bg_highlight-soft_75_ffe45c_1x100.png -> build/lib.macosx-11.0-arm64-cpython-39/cortex/webgl/resources/css/images copying cortex/webgl/resources/css/images/ui-icons_222222_256x240.png -> build/lib.macosx-11.0-arm64-cpython-39/cortex/webgl/resources/css/images copying cortex/webgl/resources/css/images/ui-icons_228ef1_256x240.png -> build/lib.macosx-11.0-arm64-cpython-39/cortex/webgl/resources/css/images copying cortex/webgl/resources/css/images/ui-icons_ef8c08_256x240.png -> build/lib.macosx-11.0-arm64-cpython-39/cortex/webgl/resources/css/images copying cortex/webgl/resources/css/images/ui-icons_ffd27a_256x240.png -> build/lib.macosx-11.0-arm64-cpython-39/cortex/webgl/resources/css/images copying cortex/webgl/resources/css/images/ui-icons_ffffff_256x240.png -> build/lib.macosx-11.0-arm64-cpython-39/cortex/webgl/resources/css/images creating build/lib.macosx-11.0-arm64-cpython-39/cortex/webgl/resources/explo_demo copying cortex/webgl/resources/explo_demo/cursor.png -> build/lib.macosx-11.0-arm64-cpython-39/cortex/webgl/resources/explo_demo copying cortex/webgl/resources/explo_demo/demo.js -> build/lib.macosx-11.0-arm64-cpython-39/cortex/webgl/resources/explo_demo copying cortex/webgl/resources/explo_demo/flatten_1.svg -> build/lib.macosx-11.0-arm64-cpython-39/cortex/webgl/resources/explo_demo copying cortex/webgl/resources/explo_demo/flatten_2.svg -> build/lib.macosx-11.0-arm64-cpython-39/cortex/webgl/resources/explo_demo copying cortex/webgl/resources/explo_demo/intro.js -> build/lib.macosx-11.0-arm64-cpython-39/cortex/webgl/resources/explo_demo copying cortex/webgl/resources/explo_demo/intro.svg -> build/lib.macosx-11.0-arm64-cpython-39/cortex/webgl/resources/explo_demo copying cortex/webgl/resources/explo_demo/rotate_1.svg -> build/lib.macosx-11.0-arm64-cpython-39/cortex/webgl/resources/explo_demo copying cortex/webgl/resources/explo_demo/rotate_2.svg -> build/lib.macosx-11.0-arm64-cpython-39/cortex/webgl/resources/explo_demo copying cortex/webgl/resources/explo_demo/swipe_left.svg -> build/lib.macosx-11.0-arm64-cpython-39/cortex/webgl/resources/explo_demo copying cortex/webgl/resources/explo_demo/swipe_right.svg -> build/lib.macosx-11.0-arm64-cpython-39/cortex/webgl/resources/explo_demo copying cortex/webgl/resources/explo_demo/zoom_1.svg -> build/lib.macosx-11.0-arm64-cpython-39/cortex/webgl/resources/explo_demo copying cortex/webgl/resources/explo_demo/zoom_2.svg -> build/lib.macosx-11.0-arm64-cpython-39/cortex/webgl/resources/explo_demo creating build/lib.macosx-11.0-arm64-cpython-39/cortex/webgl/resources/js copying cortex/webgl/resources/js/LandscapeControls.js -> build/lib.macosx-11.0-arm64-cpython-39/cortex/webgl/resources/js copying cortex/webgl/resources/js/OculusRiftEffect.js -> build/lib.macosx-11.0-arm64-cpython-39/cortex/webgl/resources/js copying cortex/webgl/resources/js/axes3d.js -> build/lib.macosx-11.0-arm64-cpython-39/cortex/webgl/resources/js copying cortex/webgl/resources/js/canvg.js -> build/lib.macosx-11.0-arm64-cpython-39/cortex/webgl/resources/js copying cortex/webgl/resources/js/dat.gui.min.js -> build/lib.macosx-11.0-arm64-cpython-39/cortex/webgl/resources/js copying cortex/webgl/resources/js/datamodel.js -> build/lib.macosx-11.0-arm64-cpython-39/cortex/webgl/resources/js copying cortex/webgl/resources/js/dataset.js -> build/lib.macosx-11.0-arm64-cpython-39/cortex/webgl/resources/js copying cortex/webgl/resources/js/facepick.js -> build/lib.macosx-11.0-arm64-cpython-39/cortex/webgl/resources/js copying cortex/webgl/resources/js/facepick_worker.js -> build/lib.macosx-11.0-arm64-cpython-39/cortex/webgl/resources/js copying cortex/webgl/resources/js/figure.js -> build/lib.macosx-11.0-arm64-cpython-39/cortex/webgl/resources/js copying cortex/webgl/resources/js/graphview.js -> build/lib.macosx-11.0-arm64-cpython-39/cortex/webgl/resources/js copying cortex/webgl/resources/js/hoverintent.min.js -> build/lib.macosx-11.0-arm64-cpython-39/cortex/webgl/resources/js copying cortex/webgl/resources/js/jgestures.min.js -> build/lib.macosx-11.0-arm64-cpython-39/cortex/webgl/resources/js copying cortex/webgl/resources/js/jquery-2.1.1.min.js -> build/lib.macosx-11.0-arm64-cpython-39/cortex/webgl/resources/js copying cortex/webgl/resources/js/jquery-ui.min.js -> build/lib.macosx-11.0-arm64-cpython-39/cortex/webgl/resources/js copying cortex/webgl/resources/js/jquery.ddslick.min.js -> build/lib.macosx-11.0-arm64-cpython-39/cortex/webgl/resources/js copying cortex/webgl/resources/js/jquery.miniColors.js -> build/lib.macosx-11.0-arm64-cpython-39/cortex/webgl/resources/js copying cortex/webgl/resources/js/jquery.svg.min.js -> build/lib.macosx-11.0-arm64-cpython-39/cortex/webgl/resources/js copying cortex/webgl/resources/js/jquery.svganim.min.js -> build/lib.macosx-11.0-arm64-cpython-39/cortex/webgl/resources/js copying cortex/webgl/resources/js/jquery.ui.touch-punch.min.js -> build/lib.macosx-11.0-arm64-cpython-39/cortex/webgl/resources/js copying cortex/webgl/resources/js/kdTree-min.js -> build/lib.macosx-11.0-arm64-cpython-39/cortex/webgl/resources/js copying cortex/webgl/resources/js/leap-0.6.4.js -> build/lib.macosx-11.0-arm64-cpython-39/cortex/webgl/resources/js copying cortex/webgl/resources/js/leap.js -> build/lib.macosx-11.0-arm64-cpython-39/cortex/webgl/resources/js copying cortex/webgl/resources/js/menu.js -> build/lib.macosx-11.0-arm64-cpython-39/cortex/webgl/resources/js copying cortex/webgl/resources/js/movement.js -> build/lib.macosx-11.0-arm64-cpython-39/cortex/webgl/resources/js copying cortex/webgl/resources/js/mriview.js -> build/lib.macosx-11.0-arm64-cpython-39/cortex/webgl/resources/js copying cortex/webgl/resources/js/mriview_surface.js -> build/lib.macosx-11.0-arm64-cpython-39/cortex/webgl/resources/js copying cortex/webgl/resources/js/mriview_utils.js -> build/lib.macosx-11.0-arm64-cpython-39/cortex/webgl/resources/js copying cortex/webgl/resources/js/python_interface.js -> build/lib.macosx-11.0-arm64-cpython-39/cortex/webgl/resources/js copying cortex/webgl/resources/js/rgbcolor.js -> build/lib.macosx-11.0-arm64-cpython-39/cortex/webgl/resources/js copying cortex/webgl/resources/js/select2-4.0.3.min.js -> build/lib.macosx-11.0-arm64-cpython-39/cortex/webgl/resources/js copying cortex/webgl/resources/js/shaderlib.js -> build/lib.macosx-11.0-arm64-cpython-39/cortex/webgl/resources/js copying cortex/webgl/resources/js/shadowtex.js -> build/lib.macosx-11.0-arm64-cpython-39/cortex/webgl/resources/js copying cortex/webgl/resources/js/sliceplane.js -> build/lib.macosx-11.0-arm64-cpython-39/cortex/webgl/resources/js copying cortex/webgl/resources/js/surfgeometry.js -> build/lib.macosx-11.0-arm64-cpython-39/cortex/webgl/resources/js copying cortex/webgl/resources/js/surfload.js -> build/lib.macosx-11.0-arm64-cpython-39/cortex/webgl/resources/js copying cortex/webgl/resources/js/svg_todataurl.js -> build/lib.macosx-11.0-arm64-cpython-39/cortex/webgl/resources/js copying cortex/webgl/resources/js/svgoverlay.js -> build/lib.macosx-11.0-arm64-cpython-39/cortex/webgl/resources/js copying cortex/webgl/resources/js/three.js -> build/lib.macosx-11.0-arm64-cpython-39/cortex/webgl/resources/js copying cortex/webgl/resources/js/w2ui-1.2.min.js -> build/lib.macosx-11.0-arm64-cpython-39/cortex/webgl/resources/js copying cortex/webgl/resources/js/w2ui-1.4.2.js -> build/lib.macosx-11.0-arm64-cpython-39/cortex/webgl/resources/js copying cortex/webgl/resources/js/w2ui-1.4.2.min.js -> build/lib.macosx-11.0-arm64-cpython-39/cortex/webgl/resources/js creating build/lib.macosx-11.0-arm64-cpython-39/cortex/webgl/resources/js/ctm copying cortex/webgl/resources/js/ctm/CTMLoader.js -> build/lib.macosx-11.0-arm64-cpython-39/cortex/webgl/resources/js/ctm copying cortex/webgl/resources/js/ctm/CTMWorker.js -> build/lib.macosx-11.0-arm64-cpython-39/cortex/webgl/resources/js/ctm copying cortex/webgl/resources/js/ctm/ctm.js -> build/lib.macosx-11.0-arm64-cpython-39/cortex/webgl/resources/js/ctm copying cortex/webgl/resources/js/ctm/lzma.js -> build/lib.macosx-11.0-arm64-cpython-39/cortex/webgl/resources/js/ctm creating build/lib.macosx-11.0-arm64-cpython-39/cortex/webgl/resources/js/ctm/license copying cortex/webgl/resources/js/ctm/license/OpenCTM.txt -> build/lib.macosx-11.0-arm64-cpython-39/cortex/webgl/resources/js/ctm/license copying cortex/webgl/resources/js/ctm/license/js-lzma.txt -> build/lib.macosx-11.0-arm64-cpython-39/cortex/webgl/resources/js/ctm/license copying cortex/webgl/resources/js/ctm/license/js-openctm.txt -> build/lib.macosx-11.0-arm64-cpython-39/cortex/webgl/resources/js/ctm/license creating build/lib.macosx-11.0-arm64-cpython-39/cortex/webgl/resources/json copying cortex/webgl/resources/json/wngraph-definitions.json -> build/lib.macosx-11.0-arm64-cpython-39/cortex/webgl/resources/json copying cortex/webgl/resources/json/wngraph-nodenames.json -> build/lib.macosx-11.0-arm64-cpython-39/cortex/webgl/resources/json copying cortex/webgl/resources/json/wngraph-rgbcolors.json -> build/lib.macosx-11.0-arm64-cpython-39/cortex/webgl/resources/json copying cortex/webgl/resources/json/wngraph-testvoxwts.json -> build/lib.macosx-11.0-arm64-cpython-39/cortex/webgl/resources/json running build_ext building 'cortex.openctm' extension Warning: Can't read registry to find the necessary compiler setting Make sure that Python modules winreg, win32api or win32con are installed. INFO: C compiler: clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /Users/nayeemmohammad/anaconda3/envs/torch/include -arch arm64 -fPIC -O2 -isystem /Users/nayeemmohammad/anaconda3/envs/torch/include -arch arm64 creating build/temp.macosx-11.0-arm64-cpython-39 creating build/temp.macosx-11.0-arm64-cpython-39/OpenCTM-1.0.3 creating build/temp.macosx-11.0-arm64-cpython-39/OpenCTM-1.0.3/lib creating build/temp.macosx-11.0-arm64-cpython-39/OpenCTM-1.0.3/lib/liblzma creating build/temp.macosx-11.0-arm64-cpython-39/cortex INFO: compile options: '-DLZMA_PREFIX_CTM -DOPENCTM_BUILD -IOpenCTM-1.0.3/lib/ -IOpenCTM-1.0.3/lib/liblzma/ -I/private/var/folders/7l/cy7mfngd371c7pcfxsqwdtpr0000gn/T/pip-build-env-jekf22iu/overlay/lib/python3.9/site-packages/numpy/core/include -I/Users/nayeemmohammad/anaconda3/envs/torch/include/python3.9 -c' INFO: clang: OpenCTM-1.0.3/lib/compressMG1.c INFO: clang: OpenCTM-1.0.3/lib/compressMG2.c INFO: clang: OpenCTM-1.0.3/lib/compressRAW.c INFO: clang: OpenCTM-1.0.3/lib/liblzma/Alloc.c xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun INFO: clang: OpenCTM-1.0.3/lib/liblzma/LzFind.c xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun INFO: clang: OpenCTM-1.0.3/lib/liblzma/LzmaDec.c xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun INFO: clang: OpenCTM-1.0.3/lib/openctm.c INFO: clang: OpenCTM-1.0.3/lib/liblzma/LzmaEnc.c xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun INFO: clang: OpenCTM-1.0.3/lib/stream.c xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun INFO: clang: cortex/openctm.c xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun INFO: clang: OpenCTM-1.0.3/lib/liblzma/LzmaLib.c xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun error: Command "clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /Users/nayeemmohammad/anaconda3/envs/torch/include -arch arm64 -fPIC -O2 -isystem /Users/nayeemmohammad/anaconda3/envs/torch/include -arch arm64 -DLZMA_PREFIX_CTM -DOPENCTM_BUILD -IOpenCTM-1.0.3/lib/ -IOpenCTM-1.0.3/lib/liblzma/ -I/private/var/folders/7l/cy7mfngd371c7pcfxsqwdtpr0000gn/T/pip-build-env-jekf22iu/overlay/lib/python3.9/site-packages/numpy/core/include -I/Users/nayeemmohammad/anaconda3/envs/torch/include/python3.9 -c OpenCTM-1.0.3/lib/compressMG1.c -o build/temp.macosx-11.0-arm64-cpython-39/OpenCTM-1.0.3/lib/compressMG1.o" 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 pycortex Failed to build pycortex ERROR: Could not build wheels for pycortex, which is required to install pyproject.toml-based projects
mvdoc commented 5 months ago

Have you installed MacOs's command line tools on your machine? It looks like something is off with your installation, see the last errors

xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
Initiated0 commented 5 months ago

@mvdoc Thank you so much for quickly replying. I didn't realize that I needed Command Line Tools for Mac Os. I followed the following tutorial (Homebrew installation) https://www.freecodecamp.org/news/install-xcode-command-line-tools/

And was able to install pycortex-1.2.7

Again, thanks for your support, and good luck.