Skip to content

4DSGS activate om Mac m5 max #7

Description

@Jochen1951

qt.qpa.fonts: Populating font family aliases took 53 ms. Replace uses of missing font family "Monospace" with one that exists to avoid this cost.
Requirement already satisfied: pip in ./.venv_4dgs/lib/python3.13/site-packages (26.1.2)
Requirement already satisfied: av>=14.0.0 in ./.venv_4dgs/lib/python3.13/site-packages (17.1.0)
Collecting nerfstudio
Using cached nerfstudio-1.1.5-py3-none-any.whl.metadata (24 kB)
Collecting appdirs>=1.4 (from nerfstudio)
Using cached appdirs-1.4.4-py2.py3-none-any.whl.metadata (9.0 kB)
Requirement already satisfied: av>=9.2.0 in ./.venv_4dgs/lib/python3.13/site-packages (from nerfstudio) (17.1.0)
Collecting comet-ml>=3.33.8 (from nerfstudio)
Using cached comet_ml-3.58.3-py3-none-any.whl.metadata (4.0 kB)
Collecting cryptography>=38 (from nerfstudio)
Using cached cryptography-49.0.0-cp311-abi3-macosx_11_0_arm64.whl.metadata (4.3 kB)
Collecting tyro>=0.6.6 (from nerfstudio)
Using cached tyro-1.0.14-py3-none-any.whl.metadata (12 kB)
Collecting gdown>=4.6.0 (from nerfstudio)
Using cached gdown-6.1.0-py3-none-any.whl.metadata (8.3 kB)
Collecting ninja>=1.10 (from nerfstudio)
Using cached ninja-1.13.0-py3-none-macosx_10_9_universal2.whl.metadata (5.1 kB)
Collecting h5py>=2.9.0 (from nerfstudio)
Using cached h5py-3.16.0-cp313-cp313-macosx_11_0_arm64.whl.metadata (3.0 kB)
Collecting imageio>=2.21.1 (from nerfstudio)
Using cached imageio-2.37.3-py3-none-any.whl.metadata (9.7 kB)
Collecting ipywidgets>=7.6 (from nerfstudio)
Using cached ipywidgets-8.1.8-py3-none-any.whl.metadata (2.4 kB)
Collecting jaxtyping>=0.2.15 (from nerfstudio)
Using cached jaxtyping-0.3.11-py3-none-any.whl.metadata (6.2 kB)
Collecting jupyterlab>=3.3.4 (from nerfstudio)
Using cached jupyterlab-4.6.0-py3-none-any.whl.metadata (16 kB)
Collecting matplotlib>=3.6.0 (from nerfstudio)
Using cached matplotlib-3.11.0-cp313-cp313-macosx_11_0_arm64.whl.metadata (80 kB)
Collecting mediapy>=1.1.0 (from nerfstudio)
Using cached mediapy-1.2.6-py3-none-any.whl.metadata (4.8 kB)
Collecting msgpack>=1.0.4 (from nerfstudio)
Using cached msgpack-1.2.1-cp313-cp313-macosx_11_0_arm64.whl.metadata (8.3 kB)
Collecting msgpack-numpy>=0.4.8 (from nerfstudio)
Using cached msgpack_numpy-0.4.8-py2.py3-none-any.whl.metadata (5.0 kB)
Collecting nerfacc==0.5.2 (from nerfstudio)
Using cached nerfacc-0.5.2-py3-none-any.whl.metadata (877 bytes)
INFO: pip is looking at multiple versions of nerfstudio to determine which version is compatible with other requirements. This could take a while.
Collecting nerfstudio
Using cached nerfstudio-1.1.4-py3-none-any.whl.metadata (23 kB)
Using cached nerfstudio-1.1.3-py3-none-any.whl.metadata (23 kB)
Collecting awscli>=1.31.10 (from nerfstudio)
Using cached awscli-1.45.33-py3-none-any.whl.metadata (11 kB)
Collecting nerfstudio
Using cached nerfstudio-1.1.2-py3-none-any.whl.metadata (23 kB)
Using cached nerfstudio-1.1.1-py3-none-any.whl.metadata (23 kB)
Using cached nerfstudio-1.1.0-py3-none-any.whl.metadata (23 kB)
Using cached nerfstudio-1.0.3-py3-none-any.whl.metadata (23 kB)
Using cached nerfstudio-1.0.2-py3-none-any.whl.metadata (23 kB)
INFO: pip is still looking at multiple versions of nerfstudio to determine which version is compatible with other requirements. This could take a while.
Using cached nerfstudio-1.0.1-py3-none-any.whl.metadata (23 kB)
Using cached nerfstudio-1.0.0-py3-none-any.whl.metadata (23 kB)
Using cached nerfstudio-0.3.4-py3-none-any.whl.metadata (23 kB)
Using cached nerfstudio-0.3.3-py3-none-any.whl.metadata (23 kB)
Using cached nerfstudio-0.3.2-py3-none-any.whl.metadata (22 kB)
INFO: This is taking longer than usual. You might need to provide the dependency resolver with stricter constraints to reduce runtime. See https://pip.pypa.io/warnings/backtracking for guidance. If you want to abort this run, press Ctrl + C.
Using cached nerfstudio-0.3.1-py3-none-any.whl.metadata (22 kB)
Using cached nerfstudio-0.3.0-py3-none-any.whl.metadata (23 kB)
Using cached nerfstudio-0.2.2-py3-none-any.whl.metadata (22 kB)
Collecting functorch>=0.2.1 (from nerfstudio)
Using cached functorch-2.0.0-py2.py3-none-any.whl.metadata (346 bytes)
Collecting nerfstudio
Using cached nerfstudio-0.2.1-py3-none-any.whl.metadata (21 kB)
Collecting nerfacc==0.3.5 (from nerfstudio)
Using cached nerfacc-0.3.5-py3-none-any.whl.metadata (819 bytes)
Collecting nerfstudio
Using cached nerfstudio-0.2.0-py3-none-any.whl.metadata (21 kB)
Using cached nerfstudio-0.1.19-py3-none-any.whl.metadata (20 kB)
Using cached nerfstudio-0.1.18-py3-none-any.whl.metadata (20 kB)
Collecting aiohttp>=3.8.1 (from nerfstudio)
Using cached aiohttp-3.14.1-cp313-cp313-macosx_11_0_arm64.whl.metadata (8.3 kB)
Collecting aiortc>=1.3.2 (from nerfstudio)
Using cached aiortc-1.14.0-py3-none-any.whl.metadata (4.9 kB)
Collecting cryptography<39,>=38 (from nerfstudio)
Using cached cryptography-38.0.4-cp36-abi3-macosx_10_10_universal2.whl.metadata (5.3 kB)
Collecting nerfacc==0.3.3 (from nerfstudio)
Using cached nerfacc-0.3.3-py3-none-any.whl.metadata (7.4 kB)
Collecting nerfstudio
Using cached nerfstudio-0.1.17-py3-none-any.whl.metadata (20 kB)
Using cached nerfstudio-0.1.16-py3-none-any.whl.metadata (20 kB)
WARNING: Ignoring version 0.1.16 of nerfstudio since it has invalid metadata:
Requested nerfstudio from https://files.pythonhosted.org/packages/bf/23/424b9e9d6ab8d3a6c1559fefc3cc39bc586157f4600d39b5a17b4fcfc2a2/nerfstudio-0.1.16-py3-none-any.whl has invalid metadata: .* suffix can only be used with == or != operators
protobuf (!=3.20.0,<=3.20.3.*)
~~~~~~~~~^
Please use pip<24.1 if you need to use this version.
Using cached nerfstudio-0.1.15-py3-none-any.whl.metadata (19 kB)
Collecting aiohttp==3.8.1 (from nerfstudio)
Using cached aiohttp-3.8.1.tar.gz (7.3 MB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Collecting aiortc==1.3.2 (from nerfstudio)
Using cached aiortc-1.3.2.tar.gz (1.2 MB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Collecting av==9.2.0 (from nerfstudio)
Using cached av-9.2.0.tar.gz (2.4 MB)
Installing build dependencies ... done
Getting requirements to build wheel ... error
error: subprocess-exited-with-error

× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> [83 lines of output]
Compiling av/plane.pyx because it changed.
[1/1] Cythonizing av/plane.pyx
Compiling av/dictionary.pyx because it changed.
[1/1] Cythonizing av/dictionary.pyx
Compiling av/stream.pyx because it changed.
[1/1] Cythonizing av/stream.pyx
Compiling av/option.pyx because it changed.
[1/1] Cythonizing av/option.pyx
warning: av/enum.pyx:321:4: nonzero was removed in Python 3; use bool instead
Compiling av/enum.pyx because it changed.
[1/1] Cythonizing av/enum.pyx
Compiling av/bytesource.pyx because it changed.
[1/1] Cythonizing av/bytesource.pyx
Compiling av/buffer.pyx because it changed.
[1/1] Cythonizing av/buffer.pyx
Compiling av/packet.pyx because it changed.
[1/1] Cythonizing av/packet.pyx
Compiling av/error.pyx because it changed.
[1/1] Cythonizing av/error.pyx
Compiling av/_core.pyx because it changed.
[1/1] Cythonizing av/_core.pyx
Compiling av/format.pyx because it changed.
[1/1] Cythonizing av/format.pyx
performance hint: av/logging.pyx:232:0: Exception check on 'log_callback' will always require the GIL to be acquired.
Possible solutions:
1. Declare 'log_callback' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions.
2. Use an 'int' return type on 'log_callback' to allow an error code to be returned.

  Error compiling Cython file:
  ------------------------------------------------------------
  ...
  cdef const char *log_context_name(void *ptr) nogil:
      cdef log_context *obj = <log_context*>ptr
      return obj.name
  
  cdef lib.AVClass log_class
  log_class.item_name = log_context_name
                        ^
  ------------------------------------------------------------
  av/logging.pyx:216:22: Cannot assign type 'const char *(void *) except? NULL nogil' to 'const char *(*)(void *) noexcept nogil'. Exception values are incompatible. Suggest adding 'noexcept' to the type of 'log_context_name'.
  
  Error compiling Cython file:
  ------------------------------------------------------------
  ...
  
  # Start the magic!
  # We allow the user to fully disable the logging system as it will not play
  # nicely with subinterpreters due to FFmpeg-created threads.
  if os.environ.get('PYAV_LOGGING') != 'off':
      lib.av_log_set_callback(log_callback)
                              ^
  ------------------------------------------------------------
  av/logging.pyx:351:28: Cannot assign type 'void (void *, int, const char *, va_list) except * nogil' to 'av_log_callback' (alias of 'void (*)(void *, int, const char *, va_list) noexcept nogil'). Exception values are incompatible. Suggest adding 'noexcept' to the type of 'log_callback'.
  Compiling av/logging.pyx because it changed.
  [1/1] Cythonizing av/logging.pyx
  Traceback (most recent call last):
    File "/Users/hans-joachimlindner/Documents/CorbeauSplat/.venv_4dgs/lib/python3.13/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 389, in <module>
      main()
      ~~~~^^
    File "/Users/hans-joachimlindner/Documents/CorbeauSplat/.venv_4dgs/lib/python3.13/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 373, in main
      json_out["return_val"] = hook(**hook_input["kwargs"])
                               ~~~~^^^^^^^^^^^^^^^^^^^^^^^^
    File "/Users/hans-joachimlindner/Documents/CorbeauSplat/.venv_4dgs/lib/python3.13/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 143, in get_requires_for_build_wheel
      return hook(config_settings)
    File "/private/var/folders/xr/k2yh2_hd4gj7205ry4y2fsp80000gn/T/pip-build-env-4k08cjbt/overlay/lib/python3.13/site-packages/setuptools/build_meta.py", line 333, in get_requires_for_build_wheel
      return self._get_build_requires(config_settings, requirements=[])
             ~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/private/var/folders/xr/k2yh2_hd4gj7205ry4y2fsp80000gn/T/pip-build-env-4k08cjbt/overlay/lib/python3.13/site-packages/setuptools/build_meta.py", line 301, in _get_build_requires
      self.run_setup()
      ~~~~~~~~~~~~~~^^
    File "/private/var/folders/xr/k2yh2_hd4gj7205ry4y2fsp80000gn/T/pip-build-env-4k08cjbt/overlay/lib/python3.13/site-packages/setuptools/build_meta.py", line 520, in run_setup
      super().run_setup(setup_script=setup_script)
      ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/private/var/folders/xr/k2yh2_hd4gj7205ry4y2fsp80000gn/T/pip-build-env-4k08cjbt/overlay/lib/python3.13/site-packages/setuptools/build_meta.py", line 317, in run_setup
      exec(code, locals())
      ~~~~^^^^^^^^^^^^^^^^
    File "<string>", line 157, in <module>
    File "/private/var/folders/xr/k2yh2_hd4gj7205ry4y2fsp80000gn/T/pip-build-env-4k08cjbt/overlay/lib/python3.13/site-packages/Cython/Build/Dependencies.py", line 1153, in cythonize
      cythonize_one(*args)
      ~~~~~~~~~~~~~^^^^^^^
    File "/private/var/folders/xr/k2yh2_hd4gj7205ry4y2fsp80000gn/T/pip-build-env-4k08cjbt/overlay/lib/python3.13/site-packages/Cython/Build/Dependencies.py", line 1297, in cythonize_one
      raise CompileError(None, pyx_file)
  Cython.Compiler.Errors.CompileError: av/logging.pyx
  [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed to build 'av' when getting requirements to build wheel

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions