术语 'pyenv' 未被识别为 cmdlet 的名称
The term 'pyenv' is not recognized as a name of a cmdlet
我在 windows10:
PS C:\Users\hp\Documents\Projects> pip install pip --target $HOME\.pyenv
pyenv 安装成功。
PS C:\Users\hp\Documents\Projects> pyenv
The term 'pyenv' is not recognized as a name of a cmdlet, function, script file, or executable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
给你添加以下PATH
变量
%USERPROFILE%\.pyenv\pyenv-win\bin
%USERPROFILE%\.pyenv\pyenv-win\shims
我在 windows10:
PS C:\Users\hp\Documents\Projects> pip install pip --target $HOME\.pyenv
pyenv 安装成功。
PS C:\Users\hp\Documents\Projects> pyenv
The term 'pyenv' is not recognized as a name of a cmdlet, function, script file, or executable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
给你添加以下PATH
变量
%USERPROFILE%\.pyenv\pyenv-win\bin
%USERPROFILE%\.pyenv\pyenv-win\shims