pyenv is a python version managing tool.
Installation
On MAC
$ brew install pyenv
On Windows
Previously, we should use a pip.
$ pip3 install pyenv-win --target $HOME/.pyenv
But, now!!!
We can use the chocolatey~!!! YAY~!!!
$ choco install -y pyenv-win
We no longer have to add environment variables directly !!!
Usage
Show available list
$ pyenv install -l
Show installed list
$ pyenv versions
Show currently using version
$ pyenv version
Show currently using global version
$ pyenv global
Install specific version
$ pyenv install <version>
Use specified version globally
$ pyenv global <version>
Use specified version on current folder
On MAC
$ pyenv local <version>
$ eval "$(pyenv init -)"
On Windows
$ pyenv local <version>
$ pyenv rehash
'Python' 카테고리의 다른 글
[Python] Beautiful Soup4 module (0) | 2020.10.09 |
---|---|
[Python] requests module (0) | 2020.10.08 |
[Python] Abstract Class (0) | 2020.09.28 |
[Python] pip (0) | 2020.09.11 |
[Python] venv (0) | 2020.08.29 |
댓글