从sublime文本设置sublimerepl的python路径?

问题描述 投票:4回答:2

我使用python可移植以及记忆棒的sublime portable并决定安装sublime REPL但是当尝试使用python portable作为sublimerepl的构建路径时它没有指定它。

简单地说,我不能像直接的崇高文本一样指定sublimerepl python路径!

我尝试将以下内容添加到SublimeREPL.sublime-settings中

"default_extend_env": {"PATH": "{PATH}:C:\\Users\\Andy\\Documents\\_Main\\M-Stick Backups\\08.07.13\\Computing\\Python Portable\\Portable Python 2.7.3.1\\App\\python.exe"},

我也尝试过改变:

"cmd": ["python", "-i", "-u"],

"cmd": ["C:\\Users\\Andy\\Documents\\_Main\\M-Stick Backups\\08.07.13\\Computing\\Python Portable\\Portable Python 2.7.3.1\\App\\python.exe", "-u", "$file"],

在Python / Main.sublime菜单中

请注意,在普通的sublime中,我将以下内容添加到Python.sublime-build中:

{"cmd": ["C:\\Users\\Andy\\Documents\\_Main\\M-Stick Backups\\08.07.13\\Computing\\Python Portable\\Portable Python 2.7.3.1\\App\\python.exe", "-u", "$file"],"file_regex": "^[ ]*Iile \"(...*?)\", line ([0-9]*)","selector": "source.python"}

有任何想法吗?

谢谢,安德鲁

python sublimetext pythonpath sublimerepl
2个回答
© www.soinside.com 2019 - 2024. All rights reserved.