Fix installation steps to allow for Pyenv 2

The text included info on Pyenv startup which is now outdated and incorrect.

Closes https://github.com/pyenv/pyenv/issues/1947, https://github.com/pyenv/pyenv-virtualenv/issues/387
This commit is contained in:
native-api
2021-05-26 00:49:31 +03:00
committed by GitHub
parent 6742d0ef10
commit 582b693c11

View File

@@ -75,12 +75,13 @@ Or, if you would like to install the latest development release:
$ brew install --HEAD pyenv-virtualenv
```
After installation, you'll still need to add
After installation, you'll still need to do
[Pyenv shell setup steps](https://github.com/pyenv/pyenv#basic-github-checkout)
then add
```sh
eval "$(pyenv init -)"
eval "$(pyenv virtualenv-init -)"
```
to your profile (as stated in the caveats). You'll only ever have to do this once.
to your shell's `.rc` file (as stated in the caveats). You'll only ever have to do this once.
## Usage