VSCode Not Detecting Magic Environment

When I create Magic environments, my Mojo projects (using external Packages) are executed over the console reliably. However, VSCode presents the following issues:

  1. It only detects the default MAX SDK (stable)
  2. My magic environment (via magic shell) is not recognized, yielding:
    • Community Packages (via magic add …) show as unresolved imports, i.e. parsing errors
    • Cannot use Jupyter notebooks (no MAX kernels detected)

System: MacOS (Apple Silicon)

What am I doing wrong? How can I get VSCode to recognize my magic environment with all the installed packages? Does anyone else have issues with that as well?

I must have had this issue for as long as I have been using Magic. However, I did not notice it at all, since I neither tried to use external Mojo packages nor tried to create a Mojo notebook…

Hey @TilliFe. I reported the problem about community packages to our engineers recently. We’re working on adding support. The Magic environment issue is also known and being addressed sometime soon.

cc: @Caroline

4 Likes

Very nice! Looking forward to it.

1 Like