rosetta

MacOS M1 system is detected as ARM by Python package even though I'm using Rosetta

MacOS M1 system is detected as ARM by Python package even though I'm using Rosetta Question: I’m on a Macbook with M1 (Apple ARM architecture) and I’ve tried running the following Python code using the layoutparser library, which indirectly uses pycocotools: import layoutparser as lp lp.Detectron2LayoutModel() And I’ve received the error: […] ImportError: dlopen([…]/.venv/lib/python3.9/site-packages/pycocotools/_mask.cpython-39-darwin.so, 0x0002): …

Total answers: 1

How to tell if rosetta is installed?

How to tell if rosetta is installed? Question: I am working on a Python script that will rely on rosetta being installed. Rosetta is a dynamic binary translator for Mac OS X which allows many PowerPC applications to run on certain Intel-based Macintosh computers without modification. Is there anyway for to check the OS to …

Total answers: 4