Installing LyX: “No textclass is found.”LyX installation error- text class not found- 'Reconfigure' or...
How is it possible for user to changed after storage was encrypted? (on OS X, Android)
How can bays and straits be determined in a procedurally generated map?
Why Is Death Allowed In the Matrix?
A function which translates a sentence to title-case
How is it possible to have an ability score that is less than 3?
TGV timetables / schedules?
What is the command to reset a PC without deleting any files
Why don't electron-positron collisions release infinite energy?
How do we improve the relationship with a client software team that performs poorly and is becoming less collaborative?
Continuity at a point in terms of closure
Can an x86 CPU running in real mode be considered to be basically an 8086 CPU?
Why can't I see bouncing of a switch on an oscilloscope?
Validation accuracy vs Testing accuracy
Can I interfere when another PC is about to be attacked?
Pronouncing Dictionary.com's W.O.D "vade mecum" in English
What is the offset in a seaplane's hull?
Motorized valve interfering with button?
"which" command doesn't work / path of Safari?
DOS, create pipe for stdin/stdout of command.com(or 4dos.com) in C or Batch?
The use of multiple foreign keys on same column in SQL Server
How to add power-LED to my small amplifier?
How can I hide my bitcoin transactions to protect anonymity from others?
Can a German sentence have two subjects?
Can I make popcorn with any corn?
Installing LyX: “No textclass is found.”
LyX installation error- text class not found- 'Reconfigure' or 'use without latex' option comingAbout installing LyX!LyX & MiKTeX installation problems on Windows 7LyX & LaTeX formulasLyX not accessing styles, classes, and bibliographiesLyX issue with the viewerLyX Install Not Recognizing Installed Spellcheck DictionariesLyX installation error- text class not found- 'Reconfigure' or 'use without latex' option comingHelp installing document class for LyX on Mac, unsure on where to startSpringer svjour3 transitionUsing Lyx on Windows 10, missing packages and modulesHow to Install a Document Class for LyX on Windows
About installing LyX!
This is my old post.
I have been trying to install LyX, but the same error message pops out when I excute LyX.exe as follows:
LyX: No textclass is found
LyX will only have minimal functionality because no textclasses have been found. You can either try to reconfigure LyX normally, try to reconfigure without checking your LaTeX installation, or continue.
(Press the button) Reconfigure (or) Without LaTeX (or) Continue
Before LyX, I used TeXLive as my tex distribution, and I'm using Windows 10.
Here's what I have done to fix the problem in a chronological order:
I installed LyX, and it did not work. I followed the instructions given in the link https://www.youtube.com/watch?v=kALm051M0iA&t=179s
I thought TeXLive was not okay as a tex program for LyX, so I installed MikTex 2.9.
In the old post, a commenter corrected me to use only one tex distributions for LyX, and recommended me to delete all of the three programs, and do it again.
I did it so, and I installed TeXLive(this is because I'm used to it) and LyX, and with the same error message.
http://www.ktug.org/xe/index.php?mid=KTUG_open_board&document_srl=174234
This link suggests to replace the "configure.py" file by new one attached in the link, and I did it, but the same result.As a commenter says, I emailed to lyx-users@lists.lyx.org to ask for advice, and one user answers very kindly, and the following are his suggestions and the corresponding results.
I opened a Command Prompt (Start Menu -> cmd.exe) and type "where pdflatex." The result was
"C:Users장지웅AppDataLocalProgramsMiKTeX 2.9miktexbinpdflatex.exe",
where the installation program of LyX chose as a path to latex.exe.
- I "reconfigured" LyX (Tools -> Reconfigure), then LyX says
The system reconfiguration has failed. Default textclass is used but LyX may not be able to work properly. Please reconfigure again if needed.
I still have the message after I restart LyX.
- Now, I tried the suggestions in the link:
LyX installation error- text class not found- 'Reconfigure' or 'use without latex' option coming
8.1) opened a command prompt in windows with administrative privileges.
8.2) navigated to the directory containing lyx.exe 'c:program files (x86)lyx 2.1bin' on my machine.
8.3) executed lyx.exe
Here's the picture that shows 8.1) 8.2) 8.3)
8.4) everything involving python calls failed - reconfigure (which uses configure.py), opening old documents (which uses lyx2lyx), etc.
8.5) exited lyx back to the command prompt
8.6) on the command line typed 'set pythonpath=' which clears the pythonpath.
8.7) on the command line typed 'set path=' which clears the path.
8.8) typed lyx.exe to reenter lyx
8.9) but the result was the same, sad.
- Now, second try: https://wiki.lyx.org/LyX/Troubleshooting
9.1)Uninstall LyX from your PC if you have used an installation folder whose name exists of seperate words like C:Program Files.
9.2)Reinstall LyX and consider, that you use a folder whose name exists of just one word like C:Lyx15
9.3)Start the Command Prompt in windows (Start -> All Programs -> Accessories -> Command Prompt)
9.4)Change directory to C: (type c:)
9.5)Type "c:/lyx15/python/python.exe c:/lyx15/resources/configure.py" in the Command Prompt and press "return"
9.6)After the configuration has been finished you will find 4 files in the directory c: -> configure.log, lyxrc.defaults, textclass.lst and packages.lst. The browser could find the first two files, but not the latter two files. I kept going. (Maybe problems with lst format?)
9.7)Cut these 4 files and paste them into the UsernameApplication DataLyX folder. If a directory for Lyx does not exist create a new one.
9.8)Start Lyx.
But, to no avail.
10) I again deleted TeXLive, Lyx, and installed MikTex2.9, LyX.
I did the above, but no improvement.
11) One comment in the old post suggests to the following:
Since you changed configuration to MiKTeX it may help to go back to basics. LyX looks for TeX at start-up & should reconfigure itself to suit so important we know how well set MiKTeX is. From any point on your system get cmd prompt type in> pdfLaTeX --version you should get a response of numbers confirming that LyX can do similar. If that step says like not an operable command then LyX wont know how to proceed. Also enter> Where /r pdfLaTeX which should confirm how many copies may be conflicting (check that it matches> Where $path:pdflatex ) the two should agree on one single copy.
Result:
12) Now, any suggestions would be appreciated. I came to the point that I don't understand why I'm doing it so hard.
Thanks,
lyx
New contributor
add a comment |
About installing LyX!
This is my old post.
I have been trying to install LyX, but the same error message pops out when I excute LyX.exe as follows:
LyX: No textclass is found
LyX will only have minimal functionality because no textclasses have been found. You can either try to reconfigure LyX normally, try to reconfigure without checking your LaTeX installation, or continue.
(Press the button) Reconfigure (or) Without LaTeX (or) Continue
Before LyX, I used TeXLive as my tex distribution, and I'm using Windows 10.
Here's what I have done to fix the problem in a chronological order:
I installed LyX, and it did not work. I followed the instructions given in the link https://www.youtube.com/watch?v=kALm051M0iA&t=179s
I thought TeXLive was not okay as a tex program for LyX, so I installed MikTex 2.9.
In the old post, a commenter corrected me to use only one tex distributions for LyX, and recommended me to delete all of the three programs, and do it again.
I did it so, and I installed TeXLive(this is because I'm used to it) and LyX, and with the same error message.
http://www.ktug.org/xe/index.php?mid=KTUG_open_board&document_srl=174234
This link suggests to replace the "configure.py" file by new one attached in the link, and I did it, but the same result.As a commenter says, I emailed to lyx-users@lists.lyx.org to ask for advice, and one user answers very kindly, and the following are his suggestions and the corresponding results.
I opened a Command Prompt (Start Menu -> cmd.exe) and type "where pdflatex." The result was
"C:Users장지웅AppDataLocalProgramsMiKTeX 2.9miktexbinpdflatex.exe",
where the installation program of LyX chose as a path to latex.exe.
- I "reconfigured" LyX (Tools -> Reconfigure), then LyX says
The system reconfiguration has failed. Default textclass is used but LyX may not be able to work properly. Please reconfigure again if needed.
I still have the message after I restart LyX.
- Now, I tried the suggestions in the link:
LyX installation error- text class not found- 'Reconfigure' or 'use without latex' option coming
8.1) opened a command prompt in windows with administrative privileges.
8.2) navigated to the directory containing lyx.exe 'c:program files (x86)lyx 2.1bin' on my machine.
8.3) executed lyx.exe
Here's the picture that shows 8.1) 8.2) 8.3)
8.4) everything involving python calls failed - reconfigure (which uses configure.py), opening old documents (which uses lyx2lyx), etc.
8.5) exited lyx back to the command prompt
8.6) on the command line typed 'set pythonpath=' which clears the pythonpath.
8.7) on the command line typed 'set path=' which clears the path.
8.8) typed lyx.exe to reenter lyx
8.9) but the result was the same, sad.
- Now, second try: https://wiki.lyx.org/LyX/Troubleshooting
9.1)Uninstall LyX from your PC if you have used an installation folder whose name exists of seperate words like C:Program Files.
9.2)Reinstall LyX and consider, that you use a folder whose name exists of just one word like C:Lyx15
9.3)Start the Command Prompt in windows (Start -> All Programs -> Accessories -> Command Prompt)
9.4)Change directory to C: (type c:)
9.5)Type "c:/lyx15/python/python.exe c:/lyx15/resources/configure.py" in the Command Prompt and press "return"
9.6)After the configuration has been finished you will find 4 files in the directory c: -> configure.log, lyxrc.defaults, textclass.lst and packages.lst. The browser could find the first two files, but not the latter two files. I kept going. (Maybe problems with lst format?)
9.7)Cut these 4 files and paste them into the UsernameApplication DataLyX folder. If a directory for Lyx does not exist create a new one.
9.8)Start Lyx.
But, to no avail.
10) I again deleted TeXLive, Lyx, and installed MikTex2.9, LyX.
I did the above, but no improvement.
11) One comment in the old post suggests to the following:
Since you changed configuration to MiKTeX it may help to go back to basics. LyX looks for TeX at start-up & should reconfigure itself to suit so important we know how well set MiKTeX is. From any point on your system get cmd prompt type in> pdfLaTeX --version you should get a response of numbers confirming that LyX can do similar. If that step says like not an operable command then LyX wont know how to proceed. Also enter> Where /r pdfLaTeX which should confirm how many copies may be conflicting (check that it matches> Where $path:pdflatex ) the two should agree on one single copy.
Result:
12) Now, any suggestions would be appreciated. I came to the point that I don't understand why I'm doing it so hard.
Thanks,
lyx
New contributor
Does it now work?
– Andrew Swann
9 hours ago
@AndrewSwann Nope...
– JJW
9 hours ago
OK that last part shows latex is ok (however it is on a path with Korean ? characters that is most likely part of the issue) so we need to get lyx to see it using the troubleshooting suggestion again run (with back slashes as I have herec:lyx15pythonpython.exe c:lyx15resourcesconfigure.py
(this may again be part of the issue since gets converted) it should take several minutes streaming the locations it finds and if you don't get the 4 files it failed so we may need to consider a fresh approach
– KJO
9 hours ago
add a comment |
About installing LyX!
This is my old post.
I have been trying to install LyX, but the same error message pops out when I excute LyX.exe as follows:
LyX: No textclass is found
LyX will only have minimal functionality because no textclasses have been found. You can either try to reconfigure LyX normally, try to reconfigure without checking your LaTeX installation, or continue.
(Press the button) Reconfigure (or) Without LaTeX (or) Continue
Before LyX, I used TeXLive as my tex distribution, and I'm using Windows 10.
Here's what I have done to fix the problem in a chronological order:
I installed LyX, and it did not work. I followed the instructions given in the link https://www.youtube.com/watch?v=kALm051M0iA&t=179s
I thought TeXLive was not okay as a tex program for LyX, so I installed MikTex 2.9.
In the old post, a commenter corrected me to use only one tex distributions for LyX, and recommended me to delete all of the three programs, and do it again.
I did it so, and I installed TeXLive(this is because I'm used to it) and LyX, and with the same error message.
http://www.ktug.org/xe/index.php?mid=KTUG_open_board&document_srl=174234
This link suggests to replace the "configure.py" file by new one attached in the link, and I did it, but the same result.As a commenter says, I emailed to lyx-users@lists.lyx.org to ask for advice, and one user answers very kindly, and the following are his suggestions and the corresponding results.
I opened a Command Prompt (Start Menu -> cmd.exe) and type "where pdflatex." The result was
"C:Users장지웅AppDataLocalProgramsMiKTeX 2.9miktexbinpdflatex.exe",
where the installation program of LyX chose as a path to latex.exe.
- I "reconfigured" LyX (Tools -> Reconfigure), then LyX says
The system reconfiguration has failed. Default textclass is used but LyX may not be able to work properly. Please reconfigure again if needed.
I still have the message after I restart LyX.
- Now, I tried the suggestions in the link:
LyX installation error- text class not found- 'Reconfigure' or 'use without latex' option coming
8.1) opened a command prompt in windows with administrative privileges.
8.2) navigated to the directory containing lyx.exe 'c:program files (x86)lyx 2.1bin' on my machine.
8.3) executed lyx.exe
Here's the picture that shows 8.1) 8.2) 8.3)
8.4) everything involving python calls failed - reconfigure (which uses configure.py), opening old documents (which uses lyx2lyx), etc.
8.5) exited lyx back to the command prompt
8.6) on the command line typed 'set pythonpath=' which clears the pythonpath.
8.7) on the command line typed 'set path=' which clears the path.
8.8) typed lyx.exe to reenter lyx
8.9) but the result was the same, sad.
- Now, second try: https://wiki.lyx.org/LyX/Troubleshooting
9.1)Uninstall LyX from your PC if you have used an installation folder whose name exists of seperate words like C:Program Files.
9.2)Reinstall LyX and consider, that you use a folder whose name exists of just one word like C:Lyx15
9.3)Start the Command Prompt in windows (Start -> All Programs -> Accessories -> Command Prompt)
9.4)Change directory to C: (type c:)
9.5)Type "c:/lyx15/python/python.exe c:/lyx15/resources/configure.py" in the Command Prompt and press "return"
9.6)After the configuration has been finished you will find 4 files in the directory c: -> configure.log, lyxrc.defaults, textclass.lst and packages.lst. The browser could find the first two files, but not the latter two files. I kept going. (Maybe problems with lst format?)
9.7)Cut these 4 files and paste them into the UsernameApplication DataLyX folder. If a directory for Lyx does not exist create a new one.
9.8)Start Lyx.
But, to no avail.
10) I again deleted TeXLive, Lyx, and installed MikTex2.9, LyX.
I did the above, but no improvement.
11) One comment in the old post suggests to the following:
Since you changed configuration to MiKTeX it may help to go back to basics. LyX looks for TeX at start-up & should reconfigure itself to suit so important we know how well set MiKTeX is. From any point on your system get cmd prompt type in> pdfLaTeX --version you should get a response of numbers confirming that LyX can do similar. If that step says like not an operable command then LyX wont know how to proceed. Also enter> Where /r pdfLaTeX which should confirm how many copies may be conflicting (check that it matches> Where $path:pdflatex ) the two should agree on one single copy.
Result:
12) Now, any suggestions would be appreciated. I came to the point that I don't understand why I'm doing it so hard.
Thanks,
lyx
New contributor
About installing LyX!
This is my old post.
I have been trying to install LyX, but the same error message pops out when I excute LyX.exe as follows:
LyX: No textclass is found
LyX will only have minimal functionality because no textclasses have been found. You can either try to reconfigure LyX normally, try to reconfigure without checking your LaTeX installation, or continue.
(Press the button) Reconfigure (or) Without LaTeX (or) Continue
Before LyX, I used TeXLive as my tex distribution, and I'm using Windows 10.
Here's what I have done to fix the problem in a chronological order:
I installed LyX, and it did not work. I followed the instructions given in the link https://www.youtube.com/watch?v=kALm051M0iA&t=179s
I thought TeXLive was not okay as a tex program for LyX, so I installed MikTex 2.9.
In the old post, a commenter corrected me to use only one tex distributions for LyX, and recommended me to delete all of the three programs, and do it again.
I did it so, and I installed TeXLive(this is because I'm used to it) and LyX, and with the same error message.
http://www.ktug.org/xe/index.php?mid=KTUG_open_board&document_srl=174234
This link suggests to replace the "configure.py" file by new one attached in the link, and I did it, but the same result.As a commenter says, I emailed to lyx-users@lists.lyx.org to ask for advice, and one user answers very kindly, and the following are his suggestions and the corresponding results.
I opened a Command Prompt (Start Menu -> cmd.exe) and type "where pdflatex." The result was
"C:Users장지웅AppDataLocalProgramsMiKTeX 2.9miktexbinpdflatex.exe",
where the installation program of LyX chose as a path to latex.exe.
- I "reconfigured" LyX (Tools -> Reconfigure), then LyX says
The system reconfiguration has failed. Default textclass is used but LyX may not be able to work properly. Please reconfigure again if needed.
I still have the message after I restart LyX.
- Now, I tried the suggestions in the link:
LyX installation error- text class not found- 'Reconfigure' or 'use without latex' option coming
8.1) opened a command prompt in windows with administrative privileges.
8.2) navigated to the directory containing lyx.exe 'c:program files (x86)lyx 2.1bin' on my machine.
8.3) executed lyx.exe
Here's the picture that shows 8.1) 8.2) 8.3)
8.4) everything involving python calls failed - reconfigure (which uses configure.py), opening old documents (which uses lyx2lyx), etc.
8.5) exited lyx back to the command prompt
8.6) on the command line typed 'set pythonpath=' which clears the pythonpath.
8.7) on the command line typed 'set path=' which clears the path.
8.8) typed lyx.exe to reenter lyx
8.9) but the result was the same, sad.
- Now, second try: https://wiki.lyx.org/LyX/Troubleshooting
9.1)Uninstall LyX from your PC if you have used an installation folder whose name exists of seperate words like C:Program Files.
9.2)Reinstall LyX and consider, that you use a folder whose name exists of just one word like C:Lyx15
9.3)Start the Command Prompt in windows (Start -> All Programs -> Accessories -> Command Prompt)
9.4)Change directory to C: (type c:)
9.5)Type "c:/lyx15/python/python.exe c:/lyx15/resources/configure.py" in the Command Prompt and press "return"
9.6)After the configuration has been finished you will find 4 files in the directory c: -> configure.log, lyxrc.defaults, textclass.lst and packages.lst. The browser could find the first two files, but not the latter two files. I kept going. (Maybe problems with lst format?)
9.7)Cut these 4 files and paste them into the UsernameApplication DataLyX folder. If a directory for Lyx does not exist create a new one.
9.8)Start Lyx.
But, to no avail.
10) I again deleted TeXLive, Lyx, and installed MikTex2.9, LyX.
I did the above, but no improvement.
11) One comment in the old post suggests to the following:
Since you changed configuration to MiKTeX it may help to go back to basics. LyX looks for TeX at start-up & should reconfigure itself to suit so important we know how well set MiKTeX is. From any point on your system get cmd prompt type in> pdfLaTeX --version you should get a response of numbers confirming that LyX can do similar. If that step says like not an operable command then LyX wont know how to proceed. Also enter> Where /r pdfLaTeX which should confirm how many copies may be conflicting (check that it matches> Where $path:pdflatex ) the two should agree on one single copy.
Result:
12) Now, any suggestions would be appreciated. I came to the point that I don't understand why I'm doing it so hard.
Thanks,
lyx
lyx
New contributor
New contributor
edited 9 hours ago
JJW
New contributor
asked 9 hours ago
JJWJJW
11
11
New contributor
New contributor
Does it now work?
– Andrew Swann
9 hours ago
@AndrewSwann Nope...
– JJW
9 hours ago
OK that last part shows latex is ok (however it is on a path with Korean ? characters that is most likely part of the issue) so we need to get lyx to see it using the troubleshooting suggestion again run (with back slashes as I have herec:lyx15pythonpython.exe c:lyx15resourcesconfigure.py
(this may again be part of the issue since gets converted) it should take several minutes streaming the locations it finds and if you don't get the 4 files it failed so we may need to consider a fresh approach
– KJO
9 hours ago
add a comment |
Does it now work?
– Andrew Swann
9 hours ago
@AndrewSwann Nope...
– JJW
9 hours ago
OK that last part shows latex is ok (however it is on a path with Korean ? characters that is most likely part of the issue) so we need to get lyx to see it using the troubleshooting suggestion again run (with back slashes as I have herec:lyx15pythonpython.exe c:lyx15resourcesconfigure.py
(this may again be part of the issue since gets converted) it should take several minutes streaming the locations it finds and if you don't get the 4 files it failed so we may need to consider a fresh approach
– KJO
9 hours ago
Does it now work?
– Andrew Swann
9 hours ago
Does it now work?
– Andrew Swann
9 hours ago
@AndrewSwann Nope...
– JJW
9 hours ago
@AndrewSwann Nope...
– JJW
9 hours ago
OK that last part shows latex is ok (however it is on a path with Korean ? characters that is most likely part of the issue) so we need to get lyx to see it using the troubleshooting suggestion again run (with back slashes as I have here
c:lyx15pythonpython.exe c:lyx15resourcesconfigure.py
(this may again be part of the issue since gets converted) it should take several minutes streaming the locations it finds and if you don't get the 4 files it failed so we may need to consider a fresh approach– KJO
9 hours ago
OK that last part shows latex is ok (however it is on a path with Korean ? characters that is most likely part of the issue) so we need to get lyx to see it using the troubleshooting suggestion again run (with back slashes as I have here
c:lyx15pythonpython.exe c:lyx15resourcesconfigure.py
(this may again be part of the issue since gets converted) it should take several minutes streaming the locations it finds and if you don't get the 4 files it failed so we may need to consider a fresh approach– KJO
9 hours ago
add a comment |
1 Answer
1
active
oldest
votes
One of the problems with many interdependent programs is that when chained together it only needs one to have a problem with file paths including spaces or extended characters then many downstream applications can fail.
Many users find that LyX or more likely its dependency on Python, Perl, Synctex etc.
Can lead to such issues.
The solution is to install LyX in a folder such as c:lyx23 (current version is 2.32-2)
Equally if MiKTeX or Tex Live components are causing issues (use only one) it may help to use the Portable version and install to C:miktex29 (current version is 2.9.7) or c:texlive2019 (presuming it is released this month).
If you get the message from LyX : unable to find textclass file then the python component was unable to work correctly during install possibly as a result of a path naming issue.
The first test is to check that there is only one pdfLaTeX and that it is included in the path variable so from a command prompt run
> where /r pdfLaTeX
> where $path:pdflatex
both should agree it will of course vary for each user HOWEVER it should be one IDENTICAL entry for both commands
e.g. c: ..tex.. .. somebinpdflatex.exe
to build the files that failed during installation run (replacing Lyx## with whatever you used for your install)
c:lyx##pythonpython.exe c:lyx##resourcesconfigure.py
There should be lots of activity as it rebuild the long list of interdependent files it finds and at the end you may have as many as 13 new files in the folder you ran it.
IMPORTANT one should be the textclass.lst we are needing to clear the error.
These files need to be placed in your user installation folder which by default will be hidden so the simplest way to find it is enter into an explorer address bar
%appdata%
and look for a folder such as LyX2.3
(the current default) this is where the 13 files need to be placed.
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "85"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
JJW is a new contributor. Be nice, and check out our Code of Conduct.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f483668%2finstalling-lyx-no-textclass-is-found%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
One of the problems with many interdependent programs is that when chained together it only needs one to have a problem with file paths including spaces or extended characters then many downstream applications can fail.
Many users find that LyX or more likely its dependency on Python, Perl, Synctex etc.
Can lead to such issues.
The solution is to install LyX in a folder such as c:lyx23 (current version is 2.32-2)
Equally if MiKTeX or Tex Live components are causing issues (use only one) it may help to use the Portable version and install to C:miktex29 (current version is 2.9.7) or c:texlive2019 (presuming it is released this month).
If you get the message from LyX : unable to find textclass file then the python component was unable to work correctly during install possibly as a result of a path naming issue.
The first test is to check that there is only one pdfLaTeX and that it is included in the path variable so from a command prompt run
> where /r pdfLaTeX
> where $path:pdflatex
both should agree it will of course vary for each user HOWEVER it should be one IDENTICAL entry for both commands
e.g. c: ..tex.. .. somebinpdflatex.exe
to build the files that failed during installation run (replacing Lyx## with whatever you used for your install)
c:lyx##pythonpython.exe c:lyx##resourcesconfigure.py
There should be lots of activity as it rebuild the long list of interdependent files it finds and at the end you may have as many as 13 new files in the folder you ran it.
IMPORTANT one should be the textclass.lst we are needing to clear the error.
These files need to be placed in your user installation folder which by default will be hidden so the simplest way to find it is enter into an explorer address bar
%appdata%
and look for a folder such as LyX2.3
(the current default) this is where the 13 files need to be placed.
add a comment |
One of the problems with many interdependent programs is that when chained together it only needs one to have a problem with file paths including spaces or extended characters then many downstream applications can fail.
Many users find that LyX or more likely its dependency on Python, Perl, Synctex etc.
Can lead to such issues.
The solution is to install LyX in a folder such as c:lyx23 (current version is 2.32-2)
Equally if MiKTeX or Tex Live components are causing issues (use only one) it may help to use the Portable version and install to C:miktex29 (current version is 2.9.7) or c:texlive2019 (presuming it is released this month).
If you get the message from LyX : unable to find textclass file then the python component was unable to work correctly during install possibly as a result of a path naming issue.
The first test is to check that there is only one pdfLaTeX and that it is included in the path variable so from a command prompt run
> where /r pdfLaTeX
> where $path:pdflatex
both should agree it will of course vary for each user HOWEVER it should be one IDENTICAL entry for both commands
e.g. c: ..tex.. .. somebinpdflatex.exe
to build the files that failed during installation run (replacing Lyx## with whatever you used for your install)
c:lyx##pythonpython.exe c:lyx##resourcesconfigure.py
There should be lots of activity as it rebuild the long list of interdependent files it finds and at the end you may have as many as 13 new files in the folder you ran it.
IMPORTANT one should be the textclass.lst we are needing to clear the error.
These files need to be placed in your user installation folder which by default will be hidden so the simplest way to find it is enter into an explorer address bar
%appdata%
and look for a folder such as LyX2.3
(the current default) this is where the 13 files need to be placed.
add a comment |
One of the problems with many interdependent programs is that when chained together it only needs one to have a problem with file paths including spaces or extended characters then many downstream applications can fail.
Many users find that LyX or more likely its dependency on Python, Perl, Synctex etc.
Can lead to such issues.
The solution is to install LyX in a folder such as c:lyx23 (current version is 2.32-2)
Equally if MiKTeX or Tex Live components are causing issues (use only one) it may help to use the Portable version and install to C:miktex29 (current version is 2.9.7) or c:texlive2019 (presuming it is released this month).
If you get the message from LyX : unable to find textclass file then the python component was unable to work correctly during install possibly as a result of a path naming issue.
The first test is to check that there is only one pdfLaTeX and that it is included in the path variable so from a command prompt run
> where /r pdfLaTeX
> where $path:pdflatex
both should agree it will of course vary for each user HOWEVER it should be one IDENTICAL entry for both commands
e.g. c: ..tex.. .. somebinpdflatex.exe
to build the files that failed during installation run (replacing Lyx## with whatever you used for your install)
c:lyx##pythonpython.exe c:lyx##resourcesconfigure.py
There should be lots of activity as it rebuild the long list of interdependent files it finds and at the end you may have as many as 13 new files in the folder you ran it.
IMPORTANT one should be the textclass.lst we are needing to clear the error.
These files need to be placed in your user installation folder which by default will be hidden so the simplest way to find it is enter into an explorer address bar
%appdata%
and look for a folder such as LyX2.3
(the current default) this is where the 13 files need to be placed.
One of the problems with many interdependent programs is that when chained together it only needs one to have a problem with file paths including spaces or extended characters then many downstream applications can fail.
Many users find that LyX or more likely its dependency on Python, Perl, Synctex etc.
Can lead to such issues.
The solution is to install LyX in a folder such as c:lyx23 (current version is 2.32-2)
Equally if MiKTeX or Tex Live components are causing issues (use only one) it may help to use the Portable version and install to C:miktex29 (current version is 2.9.7) or c:texlive2019 (presuming it is released this month).
If you get the message from LyX : unable to find textclass file then the python component was unable to work correctly during install possibly as a result of a path naming issue.
The first test is to check that there is only one pdfLaTeX and that it is included in the path variable so from a command prompt run
> where /r pdfLaTeX
> where $path:pdflatex
both should agree it will of course vary for each user HOWEVER it should be one IDENTICAL entry for both commands
e.g. c: ..tex.. .. somebinpdflatex.exe
to build the files that failed during installation run (replacing Lyx## with whatever you used for your install)
c:lyx##pythonpython.exe c:lyx##resourcesconfigure.py
There should be lots of activity as it rebuild the long list of interdependent files it finds and at the end you may have as many as 13 new files in the folder you ran it.
IMPORTANT one should be the textclass.lst we are needing to clear the error.
These files need to be placed in your user installation folder which by default will be hidden so the simplest way to find it is enter into an explorer address bar
%appdata%
and look for a folder such as LyX2.3
(the current default) this is where the 13 files need to be placed.
answered 7 hours ago
KJOKJO
3,6151222
3,6151222
add a comment |
add a comment |
JJW is a new contributor. Be nice, and check out our Code of Conduct.
JJW is a new contributor. Be nice, and check out our Code of Conduct.
JJW is a new contributor. Be nice, and check out our Code of Conduct.
JJW is a new contributor. Be nice, and check out our Code of Conduct.
Thanks for contributing an answer to TeX - LaTeX Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f483668%2finstalling-lyx-no-textclass-is-found%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Does it now work?
– Andrew Swann
9 hours ago
@AndrewSwann Nope...
– JJW
9 hours ago
OK that last part shows latex is ok (however it is on a path with Korean ? characters that is most likely part of the issue) so we need to get lyx to see it using the troubleshooting suggestion again run (with back slashes as I have here
c:lyx15pythonpython.exe c:lyx15resourcesconfigure.py
(this may again be part of the issue since gets converted) it should take several minutes streaming the locations it finds and if you don't get the 4 files it failed so we may need to consider a fresh approach– KJO
9 hours ago