Python多版本管理
管理员运行PowerShell
PowerShell 全选
Invoke-WebRequest -UseBasicParsing -Uri "https://raw.githubusercontent.com/pyenv-win/pyenv-win/master/pyenv-win/install-pyenv-win.ps1" -OutFile "./install-pyenv-win.ps1"; &"./install-pyenv-win.ps1"验证安装成功:重启PowerShell
Markup 全选
pyenv --version查看python列表
PowerShell 全选
pyenv install --list安装
PowerShell 全选
pyenv install 3.11切换版本
PowerShell 全选
pyenv local 3.11验证版本是否生效
PowerShell 全选
Python --version版权声明:本文为YES开发框架网发布内容,转载请附上原文出处连接
post 张国生


