# Failed to start ampl session

**URL:** <https://discuss.ampl.com/t/failed-to-start-ampl-session/1978>\
**Category:** Support\
**Created:** [November 10, 2024, 4:58pm UTC](https://discuss.ampl.com/t/failed-to-start-ampl-session/1978 "2024-11-10T16:58:48Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Bedor\_Alyahya](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.ampl.com/bedor_alyahya/32/713_2.png) [@Bedor\_Alyahya](https://discuss.ampl.com/u/Bedor_Alyahya)\
**Post date:** [November 10, 2024, 4:58pm UTC](https://discuss.ampl.com/t/failed-to-start-ampl-session/1978/1 "2024-11-10T16:58:48Z")

</div>

I have been trying to get AMPL running on my Mac M2, but I keep hitting an error:

RuntimeError: Failed to start ampl session

The environment settings look correct, but when it tries to execute the file, I get this: cannot execute binary file.

I downloaded the Linux 64-bit version, thinking it would work, and even tried deleting and reinstalling a few times, but no luck so far.

Any ideas on what might be going wrong? Is this possibly a compatibility issue with the Linux version on macOS? There is only 2 options to download from: Linux 64 or Windows64

---

<div class="post-metadata">

**Author:** ![fdabrandao](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.ampl.com/fdabrandao/32/63_2.png) [@fdabrandao](https://discuss.ampl.com/u/fdabrandao)\
**Post date:** [November 10, 2024, 5:03pm UTC](https://discuss.ampl.com/t/failed-to-start-ampl-session/1978/2 "2024-11-10T17:03:53Z")

</div>

Hi @Bedor_Alyahya,

Thank you for reaching out. Are you using a course bundle? For macOS there are no time-limited bundles anymore. You need to use the macOS installer from Option 1 in the bundle download page and you need to use to the course UUID to activate the license.
