Followed this guide (Cannot pip install mediapipe on Macos M1) to install Mediapipe on M1 mac, and now I am unable to use pandas or numpy.
ImportError: dlopen(/Users/matthewcuevas/Library/Python/3.8/lib/python/site-packages/pandas/_libs/interval.cpython-38-darwin.so, 0x0002): tried: '/Users/matthewcuevas/Library/Python/3.8/lib/python/site-packages/pandas/_libs/interval.cpython-38-darwin.so' (mach-o file, but is an incompatible architecture (have 'arm64', need 'x86_64'))
arch -x86_64 pip install pandas numpy
. This will run pip command under x86_emulation but the terminal stays in the native arm environment. Another way: Open Terminal App using Rosetta 2 which emulates a x86 environment, see Run everything in Rosetta 2 on Silicon Mac – Tuitionpython -m pip install --upgrade pip
and then install mediapipe whose arm64 version should be available now. – Tuition