<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p>Hello Bernt!<br>
    </p>
    <p>You might have to set some environment variables according to
      paths on your system:</p>
    <pre># setting variables for LyX
export TEXMF="${MY_TEXLIVE_LOCATION}/2019/texmf-dist"
export TEXMFCNF="${MY_TEXLIVE_LOCATION}/2019/texmf-dist/web2c"
</pre>
    <p>I am not sure what this equates to on a Windows system, but I had
      to set those.</p>
    <p>Hope this helps, good luck!<br>
    </p>
    <div class="moz-cite-prefix">On 28.05.20 09:51,
      <a class="moz-txt-link-abbreviated" href="mailto:lyx-users-request@lists.lyx.org">lyx-users-request@lists.lyx.org</a> wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:mailman.12032.1590652313.59095.lyx-users@lists.lyx.org">
      <pre class="moz-quote-pre" wrap="">Message: 1
Date: Thu, 28 May 2020 07:37:39 +0000
From: Bernt Lie <a class="moz-txt-link-rfc2396E" href="mailto:Bernt.Lie@usn.no" moz-do-not-send="true"><Bernt.Lie@usn.no></a>
To: <a class="moz-txt-link-rfc2396E" href="mailto:lyx-users@lists.lyx.org" moz-do-not-send="true">"lyx-users@lists.lyx.org"</a> <a class="moz-txt-link-rfc2396E" href="mailto:lyx-users@lists.lyx.org" moz-do-not-send="true"><lyx-users@lists.lyx.org></a>
Subject: LyX: No textclass is found ??
Message-ID:
        <a class="moz-txt-link-rfc2396E" href="mailto:VI1PR09MB230420693ECC0E20D07BDCBA9C8E0@VI1PR09MB2304.eurprd09.prod.outlook.com" moz-do-not-send="true"><VI1PR09MB230420693ECC0E20D07BDCBA9C8E0@VI1PR09MB2304.eurprd09.prod.outlook.com></a>
        
Content-Type: text/plain; charset="utf-8"

I just installed MiXTeX (latest version, I guess) on my new desktop. Next, I installed LyX 2.3.4.4.

When I try to open LyX, I?m told: LyX: No textclass is found

[<a class="moz-txt-link-freetext" href="cid:image001.png@01D634CA.BB69F590" moz-do-not-send="true">cid:image001.png@01D634CA.BB69F590</a>]

As far as I know, I have installed everything the way I used to do.

I notice one difference. On my old computer, MikTeX is given path (System variables):

  *   C:\Program Filex (x86)\MikTeX 2.9\miktex\bin\

while on the new computer, MikTeX is given path (User variables for ?):

  *   C:\Users\...AppData\Local\Programs\MiKTeX 2.9\miktex\bin\x64\

Questions:

  1.  Any reasons for this change in path?
  2.  What can I do to fix the set-up? (Note: during installation of LyX, LyX apparently detected the correct path on the new machine.)

Thanks!
-B</pre>
    </blockquote>
  </body>
</html>