Magic/Mojo on MacOS 12 not supported?
Just starting to play around with Mojo. Following the instructions in the docs on MacOS 12 on an M1 macbook I am getting this error on running
magic shell
about MacOS 13 being required. I can't find any docs suggesting MacOS 12 is not supported. Googling that error, I can't find anything relevant. So before I go to the trouble of updating the OS I thought I'd ask whether anyone else has experienced this.
8 Replies
When you say the docs. Are you referring to the getting-started ? When you
magic --version
are you getting 0.3.1 ?
There was an issue - and I'm wondering if it's related - about magic, SSL certificates, mac0S, and the way some upstream developers were doing things. The fix for that was to revert the magic version command . I tried searching Discord for the details but got a bunch of noisy results. You can try to version 0.3.0 and see if that works. Also, there's an issue template for magic in the mojo repo@tohmly can you share what prints when you run
magic info
?Yes, I am following the getting-started guide.
Are you following this doc? https://docs.modular.com/magic/ (there's also this one, so want to make sure I'm following along via the right doc)
Get started with Magic | Modular Docs
Magic is a package manager and virtual environment manager for any language,
Sorry, it is this one
Get started with Mojo🔥 | Modular Docs
Install Mojo now and start developing
I just tried initialising a simpler project with
magic init my-project
(i.e. without --format mojoproject
) and the error is the same
I get the same error on magic versions 0.3.0 and 0.2.3 (initialising a new project each time)sorry just seeing this now! will get back to you shortly
okay so adding the following to your
mojoproject.toml
file should resolve the error:
(Magic is built on Pixi, which has a default requirement of 13.0, so that's why this error is happening - but adding the above should fix it)That did the trick - Thanks for the help!