Python is a complex project. I would suggest you get a pre-compiled version for your platform. A good place to start would be the miniforge distribution which includes a version compiled for arm64 (Apple Silicon) - https://github.com/conda-forge/miniforge#download. However, you may find that many modules do yet support this architecture (e.g. Pandas), some that do support it are built using experimental compilers (gcc/gFortran) that may have issues or poor performance. Even core modules like numpy exhibit some bugs - https://github.com/numpy/numpy/issues/17964 on the M1, and some native functions perform a magnitude slower than the same function run as translated code - https://github.com/numpy/numpy/issues/17989 (which suggest low hanging fruit for optimization). It seems like these issues are getting rapidly resolved, but in the short term I would suggest sticking with the translated Python unless you are explicitly trying to resolve these limitations.
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags: