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开发框架网发布内容,转载请附上原文出处连接
张国生
上一篇:C#使用SMTP腾讯企业邮箱发送邮件465端口总是提示超时(号外!号外!587、587、587)
下一篇:没有了
评论列表

发表评论

评论内容
昵称:
关联文章

Python版本管理
Python线程中试用wmi报错
Windows下Git账号配置,同一电脑个ssh-key的管理
版本记录
Nodejs版本管理 fnm
使用 mitmproxy + python 做拦截代理
Python使用SQL Server数据库
Python pyinstaller 打包参数说明
C# 线程入门系列(二)
Python使用selenium+chrome配置指南
Python Windows服务
VScode配置Python开发环境
SourceGenerator的应用: .Net进程开发库 - Juxtapose
Python安装
YES-CMS 内容管理系统 快速发布与部署
Python Selenium ChromeDriver 规避检测
vue vue-clie环境配置
C# 线程入门系列(一)
python抓包 ChromeDriver下载地址
Python连接MSSQL数据库pyodbc方案

联系我们
联系电话:15090125178(微信同号)
电子邮箱:garson_zhang@163.com
站长微信二维码
微信二维码