Cannot switch Python with pyenv

后端 未结 6 890
忘掉有多难
忘掉有多难 2021-01-30 08:36

I would like to use pyenv to switch python2 and python3.

I successfully downloaded python2 and python3 and pyenv with following codes.

brew install pyenv         


        
6条回答
  •  失恋的感觉
    2021-01-30 09:07

    After installing the correct version, close all terminals and try pyenv global 3.7.2 then try python --version, it should work

提交回复
热议问题