Skip to content

Commit ec2c1a5

Browse files
committed
fix python interperter on 'python'
1 parent 838e593 commit ec2c1a5

File tree

1 file changed

+1
-1
lines changed
  • interpreter/core/code_interpreters/languages

1 file changed

+1
-1
lines changed

interpreter/core/code_interpreters/languages/python.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ def __init__(self, config):
2222
self.__class__ = PythonVision
2323
self.__init__(config)
2424
else:
25-
executable = sys.executable
25+
executable = "python"
2626
if os.name != "nt": # not Windows
2727
executable = shlex.quote(executable)
2828
self.start_cmd = executable + " -i -q -u"

0 commit comments

Comments
 (0)