20.04の中に仮想環境を作る ◦ wget https://repo.anaconda.com/archive/Anaconda3-2022.05-Linux-x86_64.sh ◦ sh Anaconda3-2022.05-Linux-x86_64.sh ◦ conda create -n stable-diffusion python=3.9 ◦ conda activate stable-diffusion • 必要なライブラリを入れる ◦ conda install pytorch torchvision torchaudio cudatoolkit=11.6 -c pytorch -c conda-forge ◦ conda install jupyter pandas matplotlib -c conda-forge