Skip to content

Version 22.6.0 fails on MacOS M1 systems #3231

@joseph-wortmann

Description

@joseph-wortmann

Running the latest version of black on MacOS M1 systems fails with the following error:

Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/3.9/bin/black", line 5, in <module>
    from black import patched_main
ImportError: dlopen(/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/black/__init__.cpython-39-darwin.so, 0x0002): tried: '/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/black/__init__.cpython-39-darwin.so' (mach-o file, but is an incompatible architecture (have (x86_64), need (arm64e)))

The previous version (22.3.0) works correctly.

Metadata

Metadata

Assignees

Labels

C: crashBlack is crashingC: packagingInstallation and packaging of BlackS: awaiting responseWaiting for futher information from OPS: needs reproNeeds a functional reproductionT: bugSomething isn't workinghelp wantedExtra attention is needed
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