找不到有效的 Python interpreter.Please 在您的 LaTeXTools 设置中设置 python 设置
Cannot find a valid Python interpreter.Please set the python setting in your LaTeXTools settings
我在 Sublime text 中使用 Latex,当我尝试构建时收到此消息:
Cannot find a valid Python interpreter.Please set the python setting in your LaTeXTools settings.
我检查了 LatexTools 包,看起来不错,传统的构建器和简单的构建器文件都在那里。我最近在 ubuntu 中安装了 python 3.6,我认为它们之间可能存在联系。
任何帮助将不胜感激!
对于遇到此问题的任何其他人:
正如评论中指出的那样:sudo apt-get install python-dbus
但是,如果这不能解决问题:
转到 Sublime Text 中的 LaTexTools 设置 (Preferences -> Package Settings -> LaTexTools -> Settings (User)
)
在那里你可以设置你的路径 python:
...
"linux" : {
...
"python": "/usr/bin/python",
...
您可以同时使用 python2 和 python3。使用 whereis python
检查您的 python 路径
我在 Sublime text 中使用 Latex,当我尝试构建时收到此消息:
Cannot find a valid Python interpreter.Please set the python setting in your LaTeXTools settings.
我检查了 LatexTools 包,看起来不错,传统的构建器和简单的构建器文件都在那里。我最近在 ubuntu 中安装了 python 3.6,我认为它们之间可能存在联系。
任何帮助将不胜感激!
对于遇到此问题的任何其他人:
正如评论中指出的那样:sudo apt-get install python-dbus
但是,如果这不能解决问题:
转到 Sublime Text 中的 LaTexTools 设置 (Preferences -> Package Settings -> LaTexTools -> Settings (User)
)
在那里你可以设置你的路径 python:
...
"linux" : {
...
"python": "/usr/bin/python",
...
您可以同时使用 python2 和 python3。使用 whereis python