I have a pretty simple file I'm trying to reformat, itsadate.py
, and when I run the command black itsadate.py
from a terminal I get the following error
ImportError: dlopen(/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/black/__init__.cpython-310-darwin.so, 0x0002): tried: '/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/black/__init__.cpython-310-darwin.so' (mach-o file, but is an incompatible architecture (have 'arm64', need 'x86_64')), '/usr/lib/__init__.cpython-310-darwin.so' (no such file)
What is the issue here?