Discord Bot 環境構築 Windows編
必要なもの
- パソコン
- Powershell
- Python
- git
- Sourcetree
- VSCode
- やる気
Python 3.10のインストール
3.11ではない。
https://www.microsoft.com/store/productId/9PJPW5LDXLZ5
作業用ディレクトリの作成
mkdir <ディレクトリ名>
cd <ディレクトリ名>
git init
仮想環境構築
python -m venv .venv
仮想環境を有効にする
.\[newenvname]\Scripts\activate