インストール
$ wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh
$ bash ~/Miniconda3-latest-Linux-x86_64.sh
$ source ~/.bashrc
起動時 .bashrcが読み込まれない
.bash_profileに追記
if [[ -f ~/.bashrc ]] ; then
. ~/.bashrc
fi
Visual Studio Code
Windows11にインストールしたVisual Studio Codeを起動する。
拡張機能の設定は、WSL側 独自設定。
$ code .

ホームディレクトリにPython仮想環境をつくる
$ mkdir python
$ cd python
$ conda create -n python
$ source activate python
$ conda info -e
アクティブにした環境をVScodeに登録する
【Linux】
ファイル/ユーザ設定/設定
「Python:Default Interpreter Path」に登録
/home/○/miniconda3/envs/python/bin/python
Conda
Formatter
参考書
