Skip to content

Install fails on macos 26.3 #4

Description

@romanr

npx 11.9.0

Python 3.14.3

pipx install macapptree
Fatal error from pip prevented installation. Full pip output in file:
    /Users/r/.local/pipx/logs/cmd_2026-02-20_19.07.07_pip_errors.log

pip seemed to fail to build package:
    pyobjc-core>=3.0.4

Some possibly relevant errors from pip install:
    error: subprocess-exited-with-error
    ModuleNotFoundError: No module named 'pkg_resources'

Error installing macapptree.
PIP STDOUT
----------
Collecting macapptree
  Downloading macapptree-0.0.2-py3-none-any.whl.metadata (4.0 kB)
Collecting atomacos==3.3.0 (from macapptree)
  Downloading atomacos-3.3.0-py2.py3-none-any.whl.metadata (6.9 kB)
Collecting pyobjc==10.3.1 (from macapptree)
  Downloading pyobjc-10.3.1-py3-none-any.whl.metadata (26 kB)
Collecting pytest==7.4.4 (from macapptree)
  Downloading pytest-7.4.4-py3-none-any.whl.metadata (7.9 kB)
Collecting unidecode==1.3.8 (from macapptree)
  Downloading Unidecode-1.3.8-py3-none-any.whl.metadata (13 kB)
Collecting pyobjc-core>=3.0.4 (from atomacos==3.3.0->macapptree)
  Downloading pyobjc_core-12.1-cp314-cp314-macosx_10_15_universal2.whl.metadata (2.8 kB)
Collecting pyobjc-framework-Cocoa>=3.0.4 (from atomacos==3.3.0->macapptree)
  Downloading pyobjc_framework_cocoa-12.1-cp314-cp314-macosx_10_15_universal2.whl.metadata (2.6 kB)
Collecting pyobjc-framework-Quartz>=3.0.4 (from atomacos==3.3.0->macapptree)
  Downloading pyobjc_framework_quartz-12.1-cp314-cp314-macosx_10_15_universal2.whl.metadata (3.6 kB)
Collecting pyobjc-framework-ApplicationServices>=3.0.4 (from atomacos==3.3.0->macapptree)
  Downloading pyobjc_framework_applicationservices-12.1-cp314-cp314-macosx_10_15_universal2.whl.metadata (2.8 kB)
Collecting pyobjc-framework-CoreText>=3.0.4 (from atomacos==3.3.0->macapptree)
  Downloading pyobjc_framework_coretext-12.1-cp314-cp314-macosx_10_15_universal2.whl.metadata (2.7 kB)
Collecting pygetwindow<0.0.5 (from atomacos==3.3.0->macapptree)
  Downloading PyGetWindow-0.0.4.tar.gz (8.9 kB)
  Installing build dependencies: started
  Installing build dependencies: finished with status 'done'
  Getting requirements to build wheel: started
  Getting requirements to build wheel: finished with status 'done'
  Preparing metadata (pyproject.toml): started
  Preparing metadata (pyproject.toml): finished with status 'done'
Collecting pyscreeze<0.1.20 (from atomacos==3.3.0->macapptree)
  Downloading PyScreeze-0.1.19.tar.gz (21 kB)
  Installing build dependencies: started
  Installing build dependencies: finished with status 'done'
  Getting requirements to build wheel: started
  Getting requirements to build wheel: finished with status 'done'
  Preparing metadata (pyproject.toml): started
  Preparing metadata (pyproject.toml): finished with status 'done'
Collecting pyautogui<0.9.42 (from atomacos==3.3.0->macapptree)
  Downloading PyAutoGUI-0.9.41.tar.gz (50 kB)
  Installing build dependencies: started
  Installing build dependencies: finished with status 'done'
  Getting requirements to build wheel: started
  Getting requirements to build wheel: finished with status 'done'
  Preparing metadata (pyproject.toml): started
  Preparing metadata (pyproject.toml): finished with status 'done'
Collecting future (from atomacos==3.3.0->macapptree)
  Downloading future-1.0.0-py3-none-any.whl.metadata (4.0 kB)
Collecting pyobjc-core>=3.0.4 (from atomacos==3.3.0->macapptree)
  Downloading pyobjc_core-10.3.1.tar.gz (935 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 935.0/935.0 kB 8.1 MB/s eta 0:00:00
  Installing build dependencies: started
  Installing build dependencies: finished with status 'done'
  Getting requirements to build wheel: started
  Getting requirements to build wheel: finished with status 'error'

PIP STDERR
----------
  error: subprocess-exited-with-error

  × Getting requirements to build wheel did not run successfully.
  │ exit code: 1
  ╰─> [20 lines of output]
      Traceback (most recent call last):
        File "/Users/r/.local/pipx/shared/lib/python3.13/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in <module>
          main()
          ~~~~^^
        File "/Users/r/.local/pipx/shared/lib/python3.13/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/r/.local/pipx/shared/lib/python3.13/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 118, in get_requires_for_build_wheel
          return hook(config_settings)
        File "/private/var/folders/4f/...../T/pip-build-env-40i11gyy/overlay/lib/python3.14/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/4f/.…./T/pip-build-env-40i11gyy/overlay/lib/python3.14/site-packages/setuptools/build_meta.py", line 301, in _get_build_requires
          self.run_setup()
          ~~~~~~~~~~~~~~^^
        File "/private/var/folders/4f/..../T/pip-build-env-40i11gyy/overlay/lib/python3.14/site-packages/setuptools/build_meta.py", line 317, in run_setup
          exec(code, locals())
          ~~~~^^^^^^^^^^^^^^^^
        File "<string>", line 17, in <module>
      ModuleNotFoundError: No module named 'pkg_resources'
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error

× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions