You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After installing the AutoPy (pip install autopy), when I try to use it in my code I got following errors:
File "/Users/pawellewicki/git/FX/venvARM/lib/python3.8/site-packages/autopy/init.py", line 6, in
from . import alert, bitmap, color, key, mouse, screen
ImportError: dlopen(/Users/pawellewicki/git/FX/venvARM/lib/python3.8/site-packages/autopy/alert.cpython-38-darwin.so, 0x0002): tried: '/Users/pawellewicki/git/FX/venvARM/lib/python3.8/site-packages/autopy/alert.cpython-38-darwin.so' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64e')), '/usr/local/lib/alert.cpython-38-darwin.so' (no such file), '/usr/lib/alert.cpython-38-darwin.so' (no such file)
The text was updated successfully, but these errors were encountered:
I have experienced this with the opencv-python library. It seems like your command line is running it on intel architecture, but the package is meant for ARM64.
Im not sure what your running it from, but I would recommend running your program from terminal first. The command arch
should return ARM64. If not, you should disable rosetta mode in your terminal
After installing the AutoPy (pip install autopy), when I try to use it in my code I got following errors:
File "/Users/pawellewicki/git/FX/venvARM/lib/python3.8/site-packages/autopy/init.py", line 6, in
from . import alert, bitmap, color, key, mouse, screen
ImportError: dlopen(/Users/pawellewicki/git/FX/venvARM/lib/python3.8/site-packages/autopy/alert.cpython-38-darwin.so, 0x0002): tried: '/Users/pawellewicki/git/FX/venvARM/lib/python3.8/site-packages/autopy/alert.cpython-38-darwin.so' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64e')), '/usr/local/lib/alert.cpython-38-darwin.so' (no such file), '/usr/lib/alert.cpython-38-darwin.so' (no such file)
The text was updated successfully, but these errors were encountered: