网站首页 美食营养 游戏数码 手工爱好 生活家居 健康养生 运动户外 职场理财 情感交际 母婴教育 时尚美容

如何使用pyenv切换python版本

时间:2024-10-13 16:27:58

1、屏幕输入pyenv命令,会看到如下可以使用的命令 commands List all available pyenv 艘早祓胂commands 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 a Python version using python-build uninstall Uninstall a specific Python version rehash Rehash pyenv shims (run this after installing executables) version Show the current Python version and its origin versions List all Python versions available to pyenv which Display the full path to an executable whence List all Python versions that contain the given executabl

如何使用pyenv切换python版本

3、使用pyenv install -v 2.1.3,带上版本号2.1.3就能进行自动安装该版本。使用pyenv 另外一个好处就是能很方便的安装python历史版本

如何使用pyenv切换python版本

5、使用pyenv global 3.6.3切换到3.6.3

如何使用pyenv切换python版本
© 2025 小知经验
信息来自网络 所有数据仅供参考
有疑问请联系站长 site.kefu@gmail.com