3

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!

2
  • 1
    Ensure that you have the python-dbus package installed. This is required for evince forward search. Commented Nov 21, 2016 at 9:18
  • Thanks that solved the problem! :) Commented Nov 21, 2016 at 12:38

1 Answer 1

3

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

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.