LoginSignup
1
1

More than 1 year has passed since last update.

CodeRunnerでpython: command not foundが出る場合

Posted at

エラー

[Running] python -u "/***/tempCodeRunnerFile.py"
/bin/sh: python: command not found

解消方法

command + ,で設定画面を開き、@ext:formulahendry.code-runnerと入力、Code-runner: Executor Mapを探してjsonの設定画面を開く。
(もしくはcommand + psettings.jsonと入力する)

code-runner.executorMap""python"部分を以下のように変更する

"code-runner.executorMap": {
        ...
        "python": "python3 -u",
        ...

--
プラグイン
Code Runner

1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1