Illegal instruction (core dumped)

In the step where I need to create the site name, I write the site name bench new-site. I get an error like this after typing that it asks for mysql password. error code: Illegal instruction (core dumped)

I would be happy if you could help me where I think there is a mistake.

bench new-site [site-name]
MySQL root password:
Illegal instruction (core dumped)

can you please share more info like, screenshot of Error ?

Try PYTHONFAULTHANDLER=TRUE bench new-site [sitename] that will give some traceback that’s useful for debugging.

I haven’t seen this before, this is most likely coming from some compiled dependency :face_with_raised_eyebrow:

Reference: 1. Command line and environment — Python 3.12.3 documentation

You forgot to add environment variable that I mentioned in previous comment. That enables printing traceback.

Also share:

  • python version
  • frappe version
  • OS version
  • architecture, is it arm64?

python 3.10.12
frappe 15
yes, arm64
ubuntu 22.04.4 LTS