-
Notifications
You must be signed in to change notification settings - Fork 22
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
FileNotFoundError: [Errno 2] No such file or directory: 'latex': 'latex'. #4
Comments
I use in some of the figures LaTeX for math symbols. It appears that you don't have LaTeX installed. Doesn't matter. Just remove the line where it says:
and then it should work. Now, a word of caution. That However, the strength of empymod is definitely in lower frequencies, such as CSEM. If you plan to do some serious GPR-modelling you might better start with another package, for instance: Both are written in Python too. They do the calculation directly in the time-domain, and therefore do not face the issues with the Hankel- and Fourier transforms. Furthermore, both allow you to have 2D or 3D models, whereas Hope that helps! |
Thanks! |
Hi @LuffyLuffy, thanks for reporting. Which examples did you try to run? Because I don't think I use LaTeX any more in any of the updated examples of empymod: https://empymod.readthedocs.io/en/stable/examples/index.html Where I do use LaTeX was in the publications. Mostly I wrote a comment that removing the line is just enough. E.g., in the notebooks of https://github.com/empymod/article-geo2017
|
Actually, i found some drawing figure scripts with latex and want to use them and found this error, and I google a lot and found your comment here. |
Ah I see, it wasn't with empymod, it was just the same problem but with some other scripts. Glad I could help! And thanks for letting me know! Have a great day. |
Note: This is an issue I received per email. I reproduce it here so others with the same issue might find the answer.
Hi,
I have just started using python to run your empymod code because I want to run a simple GPR 2-layer model. I have used anaconda and set up the empymod from the prisae channel. I have
numpy
andscipy
installed. However I get an error on the plotting in jupyter notebooks;Can you give me any advice on how to find the 'latex' folder. I have done some searching on the web, but I have got nowhere.
Thank you
The text was updated successfully, but these errors were encountered: