Skip to content

c2pa-python 0.12.0 version running error for macOS x86_64 #138

@ttbuffey

Description

@ttbuffey

when I upgraded c2pa-python from 0.6.0 to 0.12.0, it show the below error. It seems lacking some lib files for macOS x86_64, it only support macOSARM

2025-08-15` 13:48:27,306 - ERROR - Platform: universal-apple-darwin, Architecture: **x86_64**
Traceback (most recent call last):
    from c2pa import Builder, C2paSigningAlg as SigningAlg, sign_ps256
  File "/lib/python3.11/site-packages/c2pa/__init__.py", line 7, in <module>
    from .c2pa import (
  File "/lib/python3.11/site-packages/c2pa/c2pa.py", line 103, in <module>
    _lib = dynamically_load_library(_lib_name_default)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/lib/python3.11/site-packages/c2pa/lib.py", line 254, in dynamically_load_library
    raise RuntimeError(f"Could not find {lib_name} in any of the search paths (Platform: {platform_id}, Architecture: {current_arch})")
RuntimeError: Could not find libc2pa_c.dylib in any of the search paths (Platform: universal-apple-darwin, Architecture: x86_64)

when I use verison 0.6.0, it worked before.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions