anacondaを使わずpip, pipenvでspyderを使う方法

Installation — Spyder 3 documentation

command not found: spyder

こんなエラーが出る人へ

公式ではanacondaを使ってインストールしろって言っているが、今更anacondaなんて使ってられない!って人向けに、pipenvだけでspyderを使う方法を示していく。

  1. Spyderのインストール
pip install spyder
  1. Spyder3の起動
spyder3

とターミナルで打つだけ。

この時spyder3なしで試して何度もハマってしまった

なんでpip installは3無しなのになぜ起動時は3が必要なんだ、、、


Spyder初回起動時に色々設定するように求められるが、以下のようにデフォルト設定でうまくいったので是非参考にしてほしい:

  • Console: Execute in current console
  • General settings: 空欄
  • Working Directory settings: The directory of the file being executed

f:id:bnbnp:20190423154628p:plain