Python のインストール
Windows (PowerShell)
Section titled “Windows (PowerShell)”- Python 公式サイトからインストーラーをダウンロードします。
- インストール時に “Add Python to PATH” に必ずチェックを入れてください。
- インストール後、PowerShell で
python --versionを実行して確認します。
Windows (WSL) / Linux (Ubuntu)
Section titled “Windows (WSL) / Linux (Ubuntu)”sudo apt updatesudo apt install python3 python3-pip python3-venv -ybrew install pythonバージョン確認
Section titled “バージョン確認”環境により python または python3 コマンドを使用します。
python3 --version# またはpython --version