Quantcast
Channel: Python Black for Atom not formatting on Apple M1 chip - Stack Overflow
Viewing all articles
Browse latest Browse all 2

Python Black for Atom not formatting on Apple M1 chip

$
0
0

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?


Viewing all articles
Browse latest Browse all 2

Latest Images

Trending Articles





Latest Images