I'm trying to compile and run a textmaker document however I keep getting this error even though I have already installed miktex. Any solutions?
1 Answers
The most possible cause of this problem is that MikTeX isn't add to PATH. To solve this problem, you can open the MikTeX Console. There should be a warning, prompting you to add MikTeX to PATH.
As an alternative, you can go to Control Panel, and search for "Edit the system environment variables".
Click on "Environment Variables...".
In the "User variables for [username]" section, double click "Path". Then click "New", and enter the path to your MikTeX installation folder. The default path is C:\Users\[username]\AppData\Local\Programs\MiKTeX\miktex\bin\x64\. (WARNING: it might be different.)
If it still doesn't work, you can consider switching to TeXstudio, which in my opinion is better than TeXmaker.
You can also see this question, for more possibilities.

