LyX: No textclass is found ??

Zelphir Kaltstahl zelphirkaltstahl at
Thu May 28 17:16:43 UTC 2020

Hello Bernt!

You might have to set some environment variables according to paths on
your system:

# setting variables for LyX
export TEXMF="${MY_TEXLIVE_LOCATION}/2019/texmf-dist"
export TEXMFCNF="${MY_TEXLIVE_LOCATION}/2019/texmf-dist/web2c"

I am not sure what this equates to on a Windows system, but I had to set

Hope this helps, good luck!

On 28.05.20 09:51, lyx-users-request at wrote:
> Message: 1
> Date: Thu, 28 May 2020 07:37:39 +0000
> From: Bernt Lie <Bernt.Lie at>
> To: "lyx-users at" <lyx-users at>
> Subject: LyX: No textclass is found ??
> Message-ID:
> 	<VI1PR09MB230420693ECC0E20D07BDCBA9C8E0 at>
> Content-Type: text/plain; charset="utf-8"
> I just installed MiXTeX (latest version, I guess) on my new desktop. Next, I installed LyX
> When I try to open LyX, I?m told: LyX: No textclass is found
> [cid:image001.png at 01D634CA.BB69F590]
> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the lyx-users mailing list