Fix macOS pyenv instructions, add code block highlight (#441)

Fix: `anaconda3-latest` does not work, specify the correct virtualenv, add missing init.
This commit is contained in:
Niek van der Maas 2022-09-09 15:01:37 +02:00 committed by GitHub
parent 049ea02fc7
commit 79ac0f3420
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -28,7 +28,7 @@ First get the weights checkpoint download started - it's big:
While that is downloading, open Terminal and run the following commands one at a time.
```
```bash
# install brew (and Xcode command line tools):
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
@ -43,9 +43,10 @@ While that is downloading, open Terminal and run the following commands one at a
# 1. Installing alongside pyenv
brew install pyenv-virtualenv # you might have this from before, no problem
pyenv install anaconda3-latest
pyenv virtualenv anaconda3-latest lstein-stable-diffusion
pyenv activate lstein-stable-diffusion
pyenv install anaconda3-2022.05
pyenv virtualenv anaconda3-2022.05
eval "$(pyenv init -)"
pyenv activate anaconda3-2022.05
# OR,
# 2. Installing standalone