penv:将全局 Python 重置为系统 Python
如果你使用 penv 管理 Python 环境,你可能希望将全局 Python 版本重置为系统 Python 版本 - 例如,让你的已安装包与系统安装的包匹配。
只需运行
reset_pyenv.sh
pyenv global system一次,即可将所有 shell 的 Python 重置为系统 Python。
Check out similar posts by category:
Python
If this post helped you, please consider buying me a coffee or donating via PayPal to support research & publishing of new posts on TechOverflow