備忘録

【Python】Pythonの開発環境構築

前提

Windows

インストール

以下のサイトからインストーラーをダウンロードしてインストールするか、scoopを使用してインストールする。
https://www.python.org/downloads/windows/

scoop install python

IDE(統合開発環境)

以下から、PyCharm Community版をダウンロードしてインストールする。
PyCharm のダウンロード: JetBrains のデータサイエンスおよびウェブ開発用 Python IDE
PyCharmのCommunity版は無料で使用できる。

Virtualenv

以下の手順でVirtualenvを作成する。

  • File > Settings から設定を開く
  • Project <project name> > Python Interpreter を選択
  • Add Interpreter を開き Virtualenv Enviroment を作成
  • Python Interpreter に作成した Virtualenv Enviroment を選択