initial
This commit is contained in:
commit
74ae93a96e
1 changed files with 94691 additions and 0 deletions
|
|
@ -0,0 +1,22 @@
|
|||
pyenv
|
||||
https://realpython.com/intro-to-pyenv/
|
||||
|
||||
- Installation
|
||||
`$ curl https://pyenv.run | bash`
|
||||
- Confirguration
|
||||
Adding following in `~/.bashrc`
|
||||
```
|
||||
export PATH="$HOME/.pyenv/bin:$PATH"
|
||||
eval "$(pyenv init -)"
|
||||
eval "$(pyenv virtualenv-init -)"
|
||||
```
|
||||
|
||||
- Use
|
||||
`$ pyenv install --list | grep " 3\.[678]"`
|
||||
To install desired one
|
||||
`pyenv install -v 3.7.2`
|
||||
List versions
|
||||
`pyenv versions`
|
||||
- Switching versions
|
||||
`pyenv global 2.7.15`
|
||||
|
||||
Loading…
Reference in a new issue