Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Cannot find a valid Python interpreter.Please set the python setting in your LaTeXTools settings

I am using Latex in Sublime text and i when i try to build i get this message :

Cannot find a valid Python interpreter.Please set the python setting in your LaTeXTools settings.

I checked the LatexTools package and it seems fine, the traditional builder and simple builder files are there. I recently installed python 3.6 in ubuntu and i think maybe there can be a connection between them.
Any help would be greatly appreciated!

like image 941
aida Avatar asked Dec 22 '25 20:12

aida


1 Answers

For anyone else who comes across this: As it was pointed out in the comments: sudo apt-get install python-dbus

However, if this does not solve the issue:

Go to LaTexTools Settings in Sublime Text (Preferences -> Package Settings -> LaTexTools -> Settings (User))

There you can set your path to python:

...
"linux" : {
        ...
        "python": "/usr/bin/python",
        ...

You can use both python2 and python3. Check your python path with whereis python

like image 72
Sadik Avatar answered Dec 24 '25 12:12

Sadik



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!