Trying to get LaTex going on Anki with MiKTex, I kept having errors. After trying a bunch of stuff the internet suggested I hit on this: select \”Always install missing packages on-the-fly.\” That was it.
Then the first time I tried to use an Anki card that included LaTex it took a long time for it to load, presumably because it was downloading a required file, but it did eventually load.