登录后更精彩...O(∩_∩)O...
您需要 登录 才可以下载或查看,没有账号?立即注册
×
Windows系统下Python多版本管理——Pyenv安装及使用
1:打开命令行,输入 pip install pyenv-win --target D:\dev\pyenv (此处E:\software\pyenv是自己的安装目录,不存在会自动创建 )
2:接着配置环境变量:我的电脑—>属性—>高级系统设置—>环境变量—>系统环境变量 [Bash shell] 纯文本查看 复制代码 新建变量:pyenv
路径:d:/dev/pyenv
3:再到系统环境变量里点击path后新建: [AppleScript] 纯文本查看 复制代码 %pyenv%\bir
%pyenv%shims
命令
用法
local Set or show the local application-specific Python version
global Set or show the global Python version
shell Set or show the shell-specific Python version
install Install 1 or more versions of Python
uninstall Uninstall 1 or more versions of Python
update Update the cached version DB
rehash Rehash pyenv shims (run this after switching Python versions)
vname Show the current Python version
version Show the current Python version and its origin
version-name Show the current Python version
versions List all Python versions available to pyenv
exec Runs an executable by first preparing PATH so that the selected Python
which Display the full path to an executable
whence List all Python versions that contain the given executable
————————————————
版权声明:本文为博主原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。
原文链接:https://blog.csdn.net/weixin_42730336/article/details/120980267
from: Windows系统下Python多版本管理——Pyenv安装及使用-CSDN博客 |