License activation error: `Error: [Errno 86] Bad CPU type in executable: 'amplkey'`

When I want to activate the license on my mac mini (m4), it gives the error:

python -m amplpy.modules activate "my_uuid"
$ amplkey activate --uuid "my_uuid"
Error: [Errno 86] Bad CPU type in executable: 'amplkey'

Does ampl not support m4 cpu? Because I succeeded on my m2 macbook pro.

Hi @Cero,

Thank you for reporting this issue. As a workaround, could you please try installing rosetta with softwareupdate --install-rosetta and try again?

1 Like