{"published":"2021-05-12 23:35:20","image_url":"https://cdn-ak.f.st-hatena.com/images/fotolife/s/swx-kazuma-hoda/20200923/20200923114801.png","author_url":"https://blog.hatena.ne.jp/swx-kazuma-hoda/","blog_title":"\u30b5\u30fc\u30d0\u30fc\u30ef\u30fc\u30af\u30b9\u30a8\u30f3\u30b8\u30cb\u30a2\u30d6\u30ed\u30b0","title":"pyenv global \u304c\u52b9\u304b\u306a\u304f\u306a\u3063\u305f\uff08\uff1f\uff09\u8a71","blog_url":"https://blog.serverworks.co.jp/","provider_name":"Hatena Blog","provider_url":"https://hatena.blog","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.serverworks.co.jp%2F2021%2F05%2F12%2F233520\" title=\"pyenv global \u304c\u52b9\u304b\u306a\u304f\u306a\u3063\u305f\uff08\uff1f\uff09\u8a71 - \u30b5\u30fc\u30d0\u30fc\u30ef\u30fc\u30af\u30b9\u30a8\u30f3\u30b8\u30cb\u30a2\u30d6\u30ed\u30b0\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","categories":["Amazon EC2","Python"],"height":"190","author_name":"swx-kazuma-hoda","type":"rich","version":"1.0","url":"https://blog.serverworks.co.jp/2021/05/12/233520","width":"100%","description":"\u7d50\u8ad6 pyenv global \u3057\u3066\u3082\u4f55\u3082\u8d77\u304d\u306a\u3044\u3068\u304d\u306f\u3053\u306e\u8b66\u544a\u304c\u306a\u3044\u304b\u78ba\u8a8d\u3059\u3079\u3057\uff08 exec -l $SHELL \u3068\u304b\u5b9f\u884c\u3059\u308b\uff09\u3002 WARNING: `pyenv init -` no longer sets PATH. Run `pyenv init` to see the necessary changes to make to your configuration. \u51fa\u3066\u3044\u305f\u3089\u3001\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3059\u3079\u3057\u3002 $ echo 'export PYENV_ROOT=\"$HOME/.pyenv\"' >> ~/.bashrc $ echo 'export PATH=\"$PYENV_ROOT/bi\u2026"}