[Tex/LaTex] Problems installing LyX on Windows 10

installingmiktexwindows

I'm brand new to LyX and am having a huge amount of trouble getting it up and running on Windows 10, and would greatly appreciate any assistance.

  1. Downloaded the installer for LyX 2.2 (LyX-223-Bundle-1.exe) and installed it with all the default options.
  2. If a start a new document, I get three error messages (extarticle.cls is not installed, missing prerequisites knitr->latex, missing prerequisites natbib.sty).
  3. Going to Tools> Configure seems to start MikTex package manager which checks for natbib and eventually gives me the following message: The Command python -tt "C:/Program Files (x86)/LyX 2.2/Resources/configure.py" –binary-dir="C:/Program Files (x86)/LyX 2.2/bin/" has not completed. Do you want to keep running it. After a few iterations it completes, and asks me to restart Lyx, but it still does not seems to have knitr.
  4. Now when I create a new document, I don't have the option of pdf output (my choices are HTML, LyXHTML, MS Word and OpenDocument. Unfortunately, equations don't display nicely in these formats.

At this point, I have absolutely no idea what I am doing wrong, or how I fix it, and would be grateful for any suggestions and assistance, preferably in simple (i.e. minimally technical) terms.

Many thanks in advance

Thomas Philips

Best Answer

I had the same problem. In my case the miktex program folder was not in lyx's PATH field (Tools-> Preferences->Paths->PATH). I added it there, reconfigured and restarted. After some initial hiccups, it started working. I hope this helps!