2
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

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

2
2
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
2
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?