0

enter image description hereI'm using texstudio on Mac for a long time and everything used to work well. Suddenly, I get the following error message for every tex file I try to run:

Error: Could not start the command: pdflatex -synctex=1 -interaction=nonstopmode "filename".tex

I believe it happened after I made some changes to my python installations on the computer. Any idea?

  • Can you show the "Commands" tab of your texstudio preferences? – samcarter Jan 26 at 18:00
  • As a test: does pdflatex -synctex=1 -interaction=nonstopmode filename work from terminal? – samcarter Jan 26 at 18:01
  • I'm not sure how to use latex in the terminal. I uploaded the folder in the current directory and then past the command you suggested. I got the massege: -bash: pdflatex: command not found – Muly Jan 26 at 18:08
  • I’d guess that the changes made to the python installation played with you PATH variable and you lost /Library/TeX/texbin. What exactly did you change? – Herb Schulz Jan 27 at 20:42
  • After a few hours of searches I found the right path: "/usr/local/texlive/2016/bin/x86_64-darwin/pdflatex". Thanks a lot! – Muly Jan 27 at 20:47

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.