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 Lincoln Stein
parent aac5102cf3
commit aba94b85e8

View File

@ -27,7 +27,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)"
@ -42,9 +42,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