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
Hi team,
When installing python deps I got an error ERROR: Failed building wheel for av, so I tried to install FFMPEG 4 using brew as it was described in the docs:
However, the cd "$(brew --repo homebrew/core)" command fails with no such file or directory: /opt/homebrew/Library/Taps/homebrew/homebrew-core.
In my /opt/homebrew/Library folder I don't have Taps. Running brew tap does not display homebrew/core.
Is this a homebrew misconfiguration on my end or instructions need to be updated based on the latest homebrew version?
Thank you.
Brew config:
HOMEBREW_VERSION: 4.2.17
ORIGIN: https://github.com/Homebrew/brew
HEAD: 0476c2e5e4f02b409084553896340b2f4ab3352e
Last commit: 6 days ago
Core tap JSON: 12 Apr 11:29 UTC
Core cask tap JSON: 12 Apr 11:29 UTC
HOMEBREW_PREFIX: /opt/homebrew
HOMEBREW_CASK_OPTS: []
HOMEBREW_MAKE_JOBS: 8
Homebrew Ruby: 3.1.4 => /opt/homebrew/Library/Homebrew/vendor/portable-ruby/3.1.4/bin/ruby
CPU: octa-core 64-bit arm_firestorm_icestorm
Clang: 15.0.0 build 1500
Git: 2.39.3 => /Applications/Xcode.app/Contents/Developer/usr/bin/git
Curl: 8.4.0 => /usr/bin/curl
macOS: 14.4.1-arm64
CLT: 15.3.0.0.1.1708646388
Xcode: 15.3
Rosetta 2: false
Full installation logs
Building wheels for collected packages: h5py, av
Building wheel for h5py (pyproject.toml) ... error
error: subprocess-exited-with-error
× Building wheel for h5py (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [532 lines of output]
running bdist_wheel
running build
running build_py
creating build
creating build/lib.macosx-14.4-arm64-cpython-39
creating build/lib.macosx-14.4-arm64-cpython-39/h5py
copying h5py/h5py_warnings.py -> build/lib.macosx-14.4-arm64-cpython-39/h5py
copying h5py/version.py -> build/lib.macosx-14.4-arm64-cpython-39/h5py
copying h5py/__init__.py -> build/lib.macosx-14.4-arm64-cpython-39/h5py
copying h5py/ipy_completer.py -> build/lib.macosx-14.4-arm64-cpython-39/h5py
creating build/lib.macosx-14.4-arm64-cpython-39/h5py/_hl
copying h5py/_hl/files.py -> build/lib.macosx-14.4-arm64-cpython-39/h5py/_hl
copying h5py/_hl/compat.py -> build/lib.macosx-14.4-arm64-cpython-39/h5py/_hl
copying h5py/_hl/__init__.py -> build/lib.macosx-14.4-arm64-cpython-39/h5py/_hl
copying h5py/_hl/selections.py -> build/lib.macosx-14.4-arm64-cpython-39/h5py/_hl
copying h5py/_hl/dataset.py -> build/lib.macosx-14.4-arm64-cpython-39/h5py/_hl
copying h5py/_hl/vds.py -> build/lib.macosx-14.4-arm64-cpython-39/h5py/_hl
copying h5py/_hl/selections2.py -> build/lib.macosx-14.4-arm64-cpython-39/h5py/_hl
copying h5py/_hl/group.py -> build/lib.macosx-14.4-arm64-cpython-39/h5py/_hl
copying h5py/_hl/datatype.py -> build/lib.macosx-14.4-arm64-cpython-39/h5py/_hl
copying h5py/_hl/attrs.py -> build/lib.macosx-14.4-arm64-cpython-39/h5py/_hl
copying h5py/_hl/dims.py -> build/lib.macosx-14.4-arm64-cpython-39/h5py/_hl
copying h5py/_hl/base.py -> build/lib.macosx-14.4-arm64-cpython-39/h5py/_hl
copying h5py/_hl/filters.py -> build/lib.macosx-14.4-arm64-cpython-39/h5py/_hl
creating build/lib.macosx-14.4-arm64-cpython-39/h5py/tests
copying h5py/tests/test_dimension_scales.py -> build/lib.macosx-14.4-arm64-cpython-39/h5py/tests
copying h5py/tests/test_attribute_create.py -> build/lib.macosx-14.4-arm64-cpython-39/h5py/tests
copying h5py/tests/test_file_image.py -> build/lib.macosx-14.4-arm64-cpython-39/h5py/tests
copying h5py/tests/conftest.py -> build/lib.macosx-14.4-arm64-cpython-39/h5py/tests
copying h5py/tests/test_h5d_direct_chunk.py -> build/lib.macosx-14.4-arm64-cpython-39/h5py/tests
copying h5py/tests/test_h5f.py -> build/lib.macosx-14.4-arm64-cpython-39/h5py/tests
copying h5py/tests/test_dataset_getitem.py -> build/lib.macosx-14.4-arm64-cpython-39/h5py/tests
copying h5py/tests/test_group.py -> build/lib.macosx-14.4-arm64-cpython-39/h5py/tests
copying h5py/tests/test_errors.py -> build/lib.macosx-14.4-arm64-cpython-39/h5py/tests
copying h5py/tests/test_dataset_swmr.py -> build/lib.macosx-14.4-arm64-cpython-39/h5py/tests
copying h5py/tests/test_slicing.py -> build/lib.macosx-14.4-arm64-cpython-39/h5py/tests
copying h5py/tests/test_h5pl.py -> build/lib.macosx-14.4-arm64-cpython-39/h5py/tests
copying h5py/tests/test_attrs.py -> build/lib.macosx-14.4-arm64-cpython-39/h5py/tests
copying h5py/tests/__init__.py -> build/lib.macosx-14.4-arm64-cpython-39/h5py/tests
copying h5py/tests/test_attrs_data.py -> build/lib.macosx-14.4-arm64-cpython-39/h5py/tests
copying h5py/tests/test_h5t.py -> build/lib.macosx-14.4-arm64-cpython-39/h5py/tests
copying h5py/tests/test_big_endian_file.py -> build/lib.macosx-14.4-arm64-cpython-39/h5py/tests
copying h5py/tests/test_h5p.py -> build/lib.macosx-14.4-arm64-cpython-39/h5py/tests
copying h5py/tests/test_dims_dimensionproxy.py -> build/lib.macosx-14.4-arm64-cpython-39/h5py/tests
copying h5py/tests/test_h5o.py -> build/lib.macosx-14.4-arm64-cpython-39/h5py/tests
copying h5py/tests/test_datatype.py -> build/lib.macosx-14.4-arm64-cpython-39/h5py/tests
copying h5py/tests/common.py -> build/lib.macosx-14.4-arm64-cpython-39/h5py/tests
copying h5py/tests/test_dataset.py -> build/lib.macosx-14.4-arm64-cpython-39/h5py/tests
copying h5py/tests/test_file.py -> build/lib.macosx-14.4-arm64-cpython-39/h5py/tests
copying h5py/tests/test_selections.py -> build/lib.macosx-14.4-arm64-cpython-39/h5py/tests
copying h5py/tests/test_dtype.py -> build/lib.macosx-14.4-arm64-cpython-39/h5py/tests
copying h5py/tests/test_h5.py -> build/lib.macosx-14.4-arm64-cpython-39/h5py/tests
copying h5py/tests/test_file2.py -> build/lib.macosx-14.4-arm64-cpython-39/h5py/tests
copying h5py/tests/test_completions.py -> build/lib.macosx-14.4-arm64-cpython-39/h5py/tests
copying h5py/tests/test_filters.py -> build/lib.macosx-14.4-arm64-cpython-39/h5py/tests
copying h5py/tests/test_base.py -> build/lib.macosx-14.4-arm64-cpython-39/h5py/tests
copying h5py/tests/test_objects.py -> build/lib.macosx-14.4-arm64-cpython-39/h5py/tests
creating build/lib.macosx-14.4-arm64-cpython-39/h5py/tests/data_files
copying h5py/tests/data_files/__init__.py -> build/lib.macosx-14.4-arm64-cpython-39/h5py/tests/data_files
creating build/lib.macosx-14.4-arm64-cpython-39/h5py/tests/test_vds
copying h5py/tests/test_vds/test_highlevel_vds.py -> build/lib.macosx-14.4-arm64-cpython-39/h5py/tests/test_vds
copying h5py/tests/test_vds/test_virtual_source.py -> build/lib.macosx-14.4-arm64-cpython-39/h5py/tests/test_vds
copying h5py/tests/test_vds/__init__.py -> build/lib.macosx-14.4-arm64-cpython-39/h5py/tests/test_vds
copying h5py/tests/test_vds/test_lowlevel_vds.py -> build/lib.macosx-14.4-arm64-cpython-39/h5py/tests/test_vds
copying h5py/tests/data_files/vlen_string_s390x.h5 -> build/lib.macosx-14.4-arm64-cpython-39/h5py/tests/data_files
copying h5py/tests/data_files/vlen_string_dset_utc.h5 -> build/lib.macosx-14.4-arm64-cpython-39/h5py/tests/data_files
copying h5py/tests/data_files/vlen_string_dset.h5 -> build/lib.macosx-14.4-arm64-cpython-39/h5py/tests/data_files
running build_ext
warning: h5py/defs.pxd:15:0: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: h5py/defs.pxd:62:0: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: h5py/defs.pxd:64:0: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: h5py/defs.pxd:66:0: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: h5py/defs.pxd:68:0: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: h5py/defs.pxd:70:0: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: h5py/defs.pxd:72:0: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: h5py/defs.pxd:74:0: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: h5py/defs.pxd:76:0: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: h5py/defs.pxd:78:0: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: h5py/defs.pxd:102:0: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: h5py/defs.pxd:104:0: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: h5py/defs.pxd:106:0: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: h5py/defs.pxd:107:4: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: h5py/defs.pxd:109:0: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: h5py/defs.pxd:110:4: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: h5py/defs.pxd:112:0: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: h5py/defs.pxd:114:0: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: h5py/defs.pxd:116:0: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: h5py/defs.pxd:180:0: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: h5py/defs.pxd:197:0: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: h5py/defs.pxd:199:0: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: h5py/defs.pxd:201:0: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: h5py/defs.pxd:203:0: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: h5py/defs.pxd:213:0: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: h5py/defs.pxd:215:0: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: h5py/defs.pxd:229:0: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: h5py/defs.pxd:231:0: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: h5py/defs.pxd:233:0: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: h5py/defs.pxd:235:0: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: h5py/defs.pxd:237:0: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: h5py/defs.pxd:239:0: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: h5py/defs.pxd:241:0: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: h5py/defs.pxd:269:0: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: h5py/defs.pxd:271:0: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: h5py/defs.pxd:273:0: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: h5py/defs.pxd:275:0: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: h5py/defs.pxd:277:0: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: h5py/defs.pxd:279:0: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: h5py/defs.pxd:285:0: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: h5py/defs.pxd:287:0: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: h5py/defs.pxd:289:0: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: h5py/defs.pxd:291:0: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: h5py/defs.pxd:293:0: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: h5py/defs.pxd:295:0: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: h5py/defs.pxd:297:0: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: h5py/defs.pxd:299:0: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: h5py/defs.pxd:333:0: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: h5py/defs.pxd:335:0: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: h5py/defs.pxd:337:0: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: h5py/defs.pxd:339:0: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: h5py/defs.pxd:341:0: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: h5py/defs.pxd:343:0: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: h5py/defs.pxd:345:0: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: h5py/defs.pxd:347:0: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: h5py/defs.pxd:349:0: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: h5py/defs.pxd:383:0: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: h5py/defs.pxd:385:0: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: h5py/api_types_hdf5.pxd:48:2: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: h5py/api_types_hdf5.pxd:64:2: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: h5py/api_types_hdf5.pxd:143:2: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: h5py/api_types_hdf5.pxd:148:2: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: h5py/api_types_hdf5.pxd:156:2: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: h5py/api_types_hdf5.pxd:165:2: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: h5py/api_types_hdf5.pxd:198:2: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: h5py/api_types_hdf5.pxd:287:2: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: h5py/api_types_hdf5.pxd:334:2: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: h5py/api_types_ext.pxd:14:0: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: h5py/api_types_ext.pxd:25:0: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: h5py/api_types_ext.pxd:52:4: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: h5py/_conv.pyx:161:8: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: h5py/_conv.pyx:422:8: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: h5py/h5r.pxd:17:0: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
Error compiling Cython file:
------------------------------------------------------------
...
# License: Standard 3-clause BSD; see "license.txt" for full license terms
# and contributor agreement.
from .defs cimport *
from ._objects cimport class ObjectID
^
------------------------------------------------------------
h5py/h5t.pxd:13:23: Expected an identifier
Error compiling Cython file:
------------------------------------------------------------
...
from logging import getLogger
from .h5 import get_config
from .h5r cimport Reference, RegionReference, hobj_ref_t, hdset_reg_ref_t
from .h5t cimport H5PY_OBJ, typewrap, py_create, TypeID, H5PY_PYTHON_OPAQUE_TAG
^
------------------------------------------------------------
h5py/_conv.pyx:21:0: 'h5py/h5t/H5PY_OBJ.pxd' not found
Error compiling Cython file:
------------------------------------------------------------
...
from logging import getLogger
from .h5 import get_config
from .h5r cimport Reference, RegionReference, hobj_ref_t, hdset_reg_ref_t
from .h5t cimport H5PY_OBJ, typewrap, py_create, TypeID, H5PY_PYTHON_OPAQUE_TAG
^
------------------------------------------------------------
h5py/_conv.pyx:21:0: 'h5py/h5t/typewrap.pxd' not found
Error compiling Cython file:
------------------------------------------------------------
...
from logging import getLogger
from .h5 import get_config
from .h5r cimport Reference, RegionReference, hobj_ref_t, hdset_reg_ref_t
from .h5t cimport H5PY_OBJ, typewrap, py_create, TypeID, H5PY_PYTHON_OPAQUE_TAG
^
------------------------------------------------------------
h5py/_conv.pyx:21:0: 'h5py/h5t/py_create.pxd' not found
Error compiling Cython file:
------------------------------------------------------------
...
from logging import getLogger
from .h5 import get_config
from .h5r cimport Reference, RegionReference, hobj_ref_t, hdset_reg_ref_t
from .h5t cimport H5PY_OBJ, typewrap, py_create, TypeID, H5PY_PYTHON_OPAQUE_TAG
^
------------------------------------------------------------
h5py/_conv.pyx:21:0: 'h5py/h5t/TypeID.pxd' not found
Error compiling Cython file:
------------------------------------------------------------
...
from logging import getLogger
from .h5 import get_config
from .h5r cimport Reference, RegionReference, hobj_ref_t, hdset_reg_ref_t
from .h5t cimport H5PY_OBJ, typewrap, py_create, TypeID, H5PY_PYTHON_OPAQUE_TAG
^
------------------------------------------------------------
h5py/_conv.pyx:21:0: 'h5py/h5t/H5PY_PYTHON_OPAQUE_TAG.pxd' not found
Error compiling Cython file:
------------------------------------------------------------
...
void* ptr
cdef int conv_vlen2ndarray(void* ipt,
void* opt,
cnp.dtype elem_dtype,
TypeID intype,
^
------------------------------------------------------------
h5py/_conv.pyx:687:27: 'TypeID' is not a type identifier
Error compiling Cython file:
------------------------------------------------------------
...
cdef int conv_vlen2ndarray(void* ipt,
void* opt,
cnp.dtype elem_dtype,
TypeID intype,
TypeID outtype) except -1:
^
------------------------------------------------------------
h5py/_conv.pyx:688:27: 'TypeID' is not a type identifier
Error compiling Cython file:
------------------------------------------------------------
...
return 0
cdef int conv_ndarray2vlen(void* ipt,
void* opt,
TypeID intype,
^
------------------------------------------------------------
h5py/_conv.pyx:820:27: 'TypeID' is not a type identifier
Error compiling Cython file:
------------------------------------------------------------
...
cdef int conv_ndarray2vlen(void* ipt,
void* opt,
TypeID intype,
TypeID outtype) except -1:
^
------------------------------------------------------------
h5py/_conv.pyx:821:27: 'TypeID' is not a type identifier
Error compiling Cython file:
------------------------------------------------------------
...
:return: error-code
"""
cdef:
int command = cdata[0].command
size_t src_size, dst_size
TypeID supertype
^
------------------------------------------------------------
h5py/_conv.pyx:629:8: 'TypeID' is not a type identifier
Error compiling Cython file:
------------------------------------------------------------
...
"""
cdef:
int command = cdata[0].command
size_t src_size, dst_size
TypeID supertype
TypeID outtype
^
------------------------------------------------------------
h5py/_conv.pyx:630:8: 'TypeID' is not a type identifier
Error compiling Cython file:
------------------------------------------------------------
...
void *bkg_i,
hid_t dxpl) except -1 with gil:
cdef:
int command = cdata[0].command
size_t src_size, dst_size
TypeID supertype
^
------------------------------------------------------------
h5py/_conv.pyx:752:8: 'TypeID' is not a type identifier
Error compiling Cython file:
------------------------------------------------------------
...
hid_t dxpl) except -1 with gil:
cdef:
int command = cdata[0].command
size_t src_size, dst_size
TypeID supertype
TypeID outtype
^
------------------------------------------------------------
h5py/_conv.pyx:753:8: 'TypeID' is not a type identifier
Error compiling Cython file:
------------------------------------------------------------
...
cdef char* ctag = NULL
try:
if H5Tget_class(obj) == H5T_OPAQUE:
ctag = H5Tget_tag(obj)
if ctag != NULL:
if strcmp(ctag, H5PY_PYTHON_OPAQUE_TAG) == 0:
^
------------------------------------------------------------
h5py/_conv.pyx:157:32: 'H5PY_PYTHON_OPAQUE_TAG' is not a constant, variable or function identifier
warning: h5py/_conv.pyx:157:32: Obtaining 'const char *' from externally modifiable global Python value
Error compiling Cython file:
------------------------------------------------------------
...
elif command == H5T_CONV_FREE:
pass
elif command == H5T_CONV_CONV:
# need to pass element dtype to converter
supertype = typewrap(H5Tget_super(src_id))
^
------------------------------------------------------------
h5py/_conv.pyx:645:20: 'typewrap' is not a constant, variable or function identifier
Error compiling Cython file:
------------------------------------------------------------
...
elif command == H5T_CONV_CONV:
# need to pass element dtype to converter
supertype = typewrap(H5Tget_super(src_id))
dt = supertype.dtype
outtype = py_create(dt)
^
------------------------------------------------------------
h5py/_conv.pyx:647:18: 'py_create' is not a constant, variable or function identifier
Error compiling Cython file:
------------------------------------------------------------
...
PyObject *pdata_elem
char* buf = <char*>buf_i
if command == H5T_CONV_INIT:
cdata[0].need_bkg = H5T_BKG_NO
if not H5Tequal(src_id, H5PY_OBJ) or H5Tget_class(dst_id) != H5T_VLEN:
^
------------------------------------------------------------
h5py/_conv.pyx:761:32: 'H5PY_OBJ' is not a constant, variable or function identifier
Error compiling Cython file:
------------------------------------------------------------
...
if command == H5T_CONV_INIT:
cdata[0].need_bkg = H5T_BKG_NO
if not H5Tequal(src_id, H5PY_OBJ) or H5Tget_class(dst_id) != H5T_VLEN:
return -2
supertype = typewrap(H5Tget_super(dst_id))
^
------------------------------------------------------------
h5py/_conv.pyx:763:20: 'typewrap' is not a constant, variable or function identifier
Error compiling Cython file:
------------------------------------------------------------
...
return -2
supertype = typewrap(H5Tget_super(dst_id))
for i in range(nl):
# smells a lot
memcpy(&pdata_elem, pdata+i, sizeof(pdata_elem))
if supertype != py_create((<cnp.ndarray> pdata_elem).dtype, 1):
^
------------------------------------------------------------
h5py/_conv.pyx:767:28: 'py_create' is not a constant, variable or function identifier
Error compiling Cython file:
------------------------------------------------------------
...
if nl == 0:
return 0
# need to pass element dtype to converter
pdata_elem = pdata[0]
supertype = py_create((<cnp.ndarray> pdata_elem).dtype)
^
------------------------------------------------------------
h5py/_conv.pyx:784:20: 'py_create' is not a constant, variable or function identifier
Error compiling Cython file:
------------------------------------------------------------
...
return 0
# need to pass element dtype to converter
pdata_elem = pdata[0]
supertype = py_create((<cnp.ndarray> pdata_elem).dtype)
outtype = typewrap(H5Tget_super(dst_id))
^
------------------------------------------------------------
h5py/_conv.pyx:785:18: 'typewrap' is not a constant, variable or function identifier
Error compiling Cython file:
------------------------------------------------------------
...
enum = H5Tenum_create(H5T_STD_I32LE)
vlentype = H5Tvlen_create(H5T_STD_I32LE)
pyobj = H5PY_OBJ
^
------------------------------------------------------------
h5py/_conv.pyx:894:12: 'H5PY_OBJ' is not a constant, variable or function identifier
Loading library to get build settings and version: /opt/homebrew/opt/hdf5/lib/libhdf5.dylib
********************************************************************************
Summary of the h5py configuration
HDF5 include dirs: [
'/opt/homebrew/opt/hdf5/include'
]
HDF5 library dirs: [
'/opt/homebrew/opt/hdf5/lib'
]
HDF5 Version: (1, 14, 3)
MPI Enabled: False
ROS3 VFD Enabled: False
Rebuild Required: True
********************************************************************************
Executing api_gen rebuild of defs
Executing cythonize()
[ 1/24] Cythonizing /private/var/folders/jd/y9ss6_25607fy_kr5q_y01nw0000gp/T/pip-install-zgwx4kzr/h5py_e226ebb81b1f4d9386ae3026958a8bab/h5py/_conv.pyx
Traceback (most recent call last):
File "/Users/yauhenhome_1/code/vp/vp-cvat/.env/lib/python3.9/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in <module>
main()
File "/Users/yauhenhome_1/code/vp/vp-cvat/.env/lib/python3.9/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
File "/Users/yauhenhome_1/code/vp/vp-cvat/.env/lib/python3.9/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 251, in build_wheel
return _build_backend().build_wheel(wheel_directory, config_settings,
File "/private/var/folders/jd/y9ss6_25607fy_kr5q_y01nw0000gp/T/pip-build-env-4t2zy_fd/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 410, in build_wheel
return self._build_with_temp_dir(
File "/private/var/folders/jd/y9ss6_25607fy_kr5q_y01nw0000gp/T/pip-build-env-4t2zy_fd/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 395, in _build_with_temp_dir
self.run_setup()
File "/private/var/folders/jd/y9ss6_25607fy_kr5q_y01nw0000gp/T/pip-build-env-4t2zy_fd/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 311, in run_setup
exec(code, locals())
File "<string>", line 104, in <module>
File "/private/var/folders/jd/y9ss6_25607fy_kr5q_y01nw0000gp/T/pip-build-env-4t2zy_fd/overlay/lib/python3.9/site-packages/setuptools/__init__.py", line 104, in setup
return distutils.core.setup(**attrs)
File "/private/var/folders/jd/y9ss6_25607fy_kr5q_y01nw0000gp/T/pip-build-env-4t2zy_fd/overlay/lib/python3.9/site-packages/setuptools/_distutils/core.py", line 185, in setup
return run_commands(dist)
File "/private/var/folders/jd/y9ss6_25607fy_kr5q_y01nw0000gp/T/pip-build-env-4t2zy_fd/overlay/lib/python3.9/site-packages/setuptools/_distutils/core.py", line 201, in run_commands
dist.run_commands()
File "/private/var/folders/jd/y9ss6_25607fy_kr5q_y01nw0000gp/T/pip-build-env-4t2zy_fd/overlay/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 969, in run_commands
self.run_command(cmd)
File "/private/var/folders/jd/y9ss6_25607fy_kr5q_y01nw0000gp/T/pip-build-env-4t2zy_fd/overlay/lib/python3.9/site-packages/setuptools/dist.py", line 967, in run_command
super().run_command(command)
File "/private/var/folders/jd/y9ss6_25607fy_kr5q_y01nw0000gp/T/pip-build-env-4t2zy_fd/overlay/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
cmd_obj.run()
File "/private/var/folders/jd/y9ss6_25607fy_kr5q_y01nw0000gp/T/pip-build-env-4t2zy_fd/overlay/lib/python3.9/site-packages/wheel/bdist_wheel.py", line 368, in run
self.run_command("build")
File "/private/var/folders/jd/y9ss6_25607fy_kr5q_y01nw0000gp/T/pip-build-env-4t2zy_fd/overlay/lib/python3.9/site-packages/setuptools/_distutils/cmd.py", line 318, in run_command
self.distribution.run_command(command)
File "/private/var/folders/jd/y9ss6_25607fy_kr5q_y01nw0000gp/T/pip-build-env-4t2zy_fd/overlay/lib/python3.9/site-packages/setuptools/dist.py", line 967, in run_command
super().run_command(command)
File "/private/var/folders/jd/y9ss6_25607fy_kr5q_y01nw0000gp/T/pip-build-env-4t2zy_fd/overlay/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
cmd_obj.run()
File "/private/var/folders/jd/y9ss6_25607fy_kr5q_y01nw0000gp/T/pip-build-env-4t2zy_fd/overlay/lib/python3.9/site-packages/setuptools/_distutils/command/build.py", line 131, in run
self.run_command(cmd_name)
File "/private/var/folders/jd/y9ss6_25607fy_kr5q_y01nw0000gp/T/pip-build-env-4t2zy_fd/overlay/lib/python3.9/site-packages/setuptools/_distutils/cmd.py", line 318, in run_command
self.distribution.run_command(command)
File "/private/var/folders/jd/y9ss6_25607fy_kr5q_y01nw0000gp/T/pip-build-env-4t2zy_fd/overlay/lib/python3.9/site-packages/setuptools/dist.py", line 967, in run_command
super().run_command(command)
File "/private/var/folders/jd/y9ss6_25607fy_kr5q_y01nw0000gp/T/pip-build-env-4t2zy_fd/overlay/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
cmd_obj.run()
File "/private/var/folders/jd/y9ss6_25607fy_kr5q_y01nw0000gp/T/pip-install-zgwx4kzr/h5py_e226ebb81b1f4d9386ae3026958a8bab/setup_build.py", line 170, in run
self.extensions = cythonize(self._make_extensions(config),
File "/private/var/folders/jd/y9ss6_25607fy_kr5q_y01nw0000gp/T/pip-build-env-4t2zy_fd/overlay/lib/python3.9/site-packages/Cython/Build/Dependencies.py", line 1154, in cythonize
cythonize_one(*args)
File "/private/var/folders/jd/y9ss6_25607fy_kr5q_y01nw0000gp/T/pip-build-env-4t2zy_fd/overlay/lib/python3.9/site-packages/Cython/Build/Dependencies.py", line 1321, in cythonize_one
raise CompileError(None, pyx_file)
Cython.Compiler.Errors.CompileError: /private/var/folders/jd/y9ss6_25607fy_kr5q_y01nw0000gp/T/pip-install-zgwx4kzr/h5py_e226ebb81b1f4d9386ae3026958a8bab/h5py/_conv.pyx
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for h5py
Building wheel for av (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py bdist_wheel did not run successfully.
│ exit code: 1
╰─> [48 lines of output]
running bdist_wheel
running build
running build_py
creating build
creating build/lib.macosx-14.4-arm64-cpython-39
creating build/lib.macosx-14.4-arm64-cpython-39/av
copying av/deprecation.py -> build/lib.macosx-14.4-arm64-cpython-39/av
copying av/datasets.py -> build/lib.macosx-14.4-arm64-cpython-39/av
copying av/__init__.py -> build/lib.macosx-14.4-arm64-cpython-39/av
copying av/__main__.py -> build/lib.macosx-14.4-arm64-cpython-39/av
creating build/lib.macosx-14.4-arm64-cpython-39/av/video
copying av/video/__init__.py -> build/lib.macosx-14.4-arm64-cpython-39/av/video
creating build/lib.macosx-14.4-arm64-cpython-39/av/codec
copying av/codec/__init__.py -> build/lib.macosx-14.4-arm64-cpython-39/av/codec
creating build/lib.macosx-14.4-arm64-cpython-39/av/container
copying av/container/__init__.py -> build/lib.macosx-14.4-arm64-cpython-39/av/container
creating build/lib.macosx-14.4-arm64-cpython-39/av/audio
copying av/audio/__init__.py -> build/lib.macosx-14.4-arm64-cpython-39/av/audio
creating build/lib.macosx-14.4-arm64-cpython-39/av/subtitles
copying av/subtitles/__init__.py -> build/lib.macosx-14.4-arm64-cpython-39/av/subtitles
creating build/lib.macosx-14.4-arm64-cpython-39/av/filter
copying av/filter/__init__.py -> build/lib.macosx-14.4-arm64-cpython-39/av/filter
creating build/lib.macosx-14.4-arm64-cpython-39/av/sidedata
copying av/sidedata/__init__.py -> build/lib.macosx-14.4-arm64-cpython-39/av/sidedata
creating build/lib.macosx-14.4-arm64-cpython-39/av/data
copying av/data/__init__.py -> build/lib.macosx-14.4-arm64-cpython-39/av/data
running build_ext
running config
PyAV: 8.0.2 (unknown commit)
Python: 3.9.19 (main, Apr 12 2024, 12:30:16) \n[Clang 15.0.0 (clang-1500.3.9.4)]
platform: macOS-14.4.1-arm64-arm-64bit
extension_extra:
include_dirs: [b'include']
libraries: []
library_dirs: [b'/opt/homebrew/opt/ffmpeg@4/lib']
define_macros: []
runtime_library_dirs: []
config_macros:
PYAV_COMMIT_STR="unknown-commit"
PYAV_VERSION=8.0.2
PYAV_VERSION_STR="8.0.2"
Could not find libavformat with pkg-config.
Could not find libavcodec with pkg-config.
Could not find libavdevice with pkg-config.
Could not find libavutil with pkg-config.
Could not find libavfilter with pkg-config.
Could not find libswscale with pkg-config.
Could not find libswresample with pkg-config.
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for av
Running setup.py clean for av
Failed to build h5py av
ERROR: Could not build wheels for h5py, av, which is required to install pyproject.toml-based projects
The text was updated successfully, but these errors were encountered:
You're running into this specific error because homebrew/core is not tapped (default behavior since 4.0.0). However, these instructions are out of date as brew defaults to package resolution via API. They should be changed to instruct the user to install ffmpeg using the HOMEBREW_NO_INSTALL_FROM_API=1 flag, via brew install ffmpeg@4, or from source.
Actions before raising this issue
Steps to Reproduce
Hi team,
When installing python deps I got an error
ERROR: Failed building wheel for av
, so I tried to install FFMPEG 4 using brew as it was described in the docs:However, the
cd "$(brew --repo homebrew/core)"
command fails withno such file or directory: /opt/homebrew/Library/Taps/homebrew/homebrew-core
.In my
/opt/homebrew/Library
folder I don't haveTaps
. Runningbrew tap
does not displayhomebrew/core
.Is this a homebrew misconfiguration on my end or instructions need to be updated based on the latest homebrew version?
Thank you.
Brew config:
Full installation logs
The text was updated successfully, but these errors were encountered: