2017-04-11 70 views

回答

0

pyenv殼切換你的Python本地(當前的shell會話)到特定版本。您應該按照您已經安裝的版本運行它。 要檢查你使用的是當前Python和安裝的版本:

pyenv version #return the version you are using 
pyenv versions # return all versions installed 

然後,您可以設置Python版本當前shell會話

pyenv shell 3.6.4 #3.6.4 is one of the installed python version 
相關問題