Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

About use this tool in win10 with RuntimeError #9

Closed
datamonday opened this issue May 28, 2020 · 5 comments
Closed

About use this tool in win10 with RuntimeError #9

datamonday opened this issue May 28, 2020 · 5 comments

Comments

@datamonday
Copy link

datamonday commented May 28, 2020

First, thanks for @garrettj403 perfect work, it is very useful.


If not install LaTeX in win10, run examples in this repo will get an error:
"RuntimeError: Failed to process string with tex because latex could not be found"


Just need to install LaTeX and add 'path\texstudio.exe' to systerm enviroment PATH
(Note1: Need to install MiKTex and LaTeX, The following installation package will provide guidelines.)
(Note2: Selecting for all users when installing MiKTex will automatically add MiKTex to the system environment variables PATH)


the tex download: http://www.tug.org/


I tested this tool in Jupyter notebook and it works very well.
I hope this suggestion can help friends who encounter this problem.

@garrettj403
Copy link
Owner

Hi @datamonday,

Thanks for the tip! I'll add this to the README.

I'm glad you find SciencePlots useful.

@erhuliu
Copy link

erhuliu commented Sep 22, 2022

helpful!

@caijigiser
Copy link

I got the note and downloaded miktex on Windows 11, but the error still exists. Could you please give more details?

@echedey-ls
Copy link
Collaborator

@caijigiser since this package just provides styles for Matplotlib, we don't really do support for these kind of requests. However, for some obvious reasons, we've got some references that can help you:

@caijigiser
Copy link

@caijigiser since this package just provides styles for Matplotlib, we don't really do support for these kind of requests. However, for some obvious reasons, we've got some references that can help you:

Two days later, the script is working well! Maybe as you said the environment variables had to be updated, rebooting would help! Thanks for your reply!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants