When I install py-black it says I need the arm version. Any ideas why the
installation wouldn’t give me the arm version?
black --version
Traceback (most recent call last):
File "/opt/local/bin/black", line 5, in <module>
from black import patched_main
File
"/opt/local/Library/Frameworks/Python.framework/Versions/3.14/lib/python3.14/site-packages/black/__init__.py",
line 31, in <module>
from black.comments import normalize_fmt_off
File
"/opt/local/Library/Frameworks/Python.framework/Versions/3.14/lib/python3.14/site-packages/black/comments.py",
line 8, in <module>
from black.nodes import (
...<10 lines>...
)
File
"/opt/local/Library/Frameworks/Python.framework/Versions/3.14/lib/python3.14/site-packages/black/nodes.py",
line 13, in <module>
from blib2to3 import pygram
File
"/opt/local/Library/Frameworks/Python.framework/Versions/3.14/lib/python3.14/site-packages/blib2to3/pygram.py",
line 11, in <module>
from .pgen2 import driver
File
"/opt/local/Library/Frameworks/Python.framework/Versions/3.14/lib/python3.14/site-packages/blib2to3/pgen2/driver.py",
line 31, in <module>
from blib2to3.pgen2.tokenize import TokenInfo
File
"/opt/local/Library/Frameworks/Python.framework/Versions/3.14/lib/python3.14/site-packages/blib2to3/pgen2/tokenize.py",
line 59, in <module>
import pytokens
ImportError:
dlopen(/opt/local/Library/Frameworks/Python.framework/Versions/3.14/lib/python3.14/site-packages/pytokens/__init__.cpython-314-darwin.so,
0x0002): tried:
'/opt/local/Library/Frameworks/Python.framework/Versions/3.14/lib/python3.14/site-packages/pytokens/__init__.cpython-314-darwin.so'
(mach-o file, but is an incompatible architecture (have 'x86_64', need
'arm64e' or 'arm64e.v1' or 'arm64' or 'arm64')),
'/System/Volumes/Preboot/Cryptexes/OS/opt/local/Library/Frameworks/Python.framework/Versions/3.14/lib/python3.14/site-packages/pytokens/__init__.cpython-314-darwin.so'
(no such file),
'/opt/local/Library/Frameworks/Python.framework/Versions/3.14/lib/python3.14/site-packages/pytokens/__init__.cpython-314-darwin.so'
(mach-o file, but is an incompatible architecture (have 'x86_64', need
'arm64e' or 'arm64e.v1' or 'arm64' or 'arm64'))