pyenv无法管理不是通过pyenv下载的python包.
以下删除的是非mac自带python包
python 标准安装方法下删除方法
A framework /Library/Frameworks/Python.framework, which includes the Python executable and libraries. The installer adds this location to your shell path. To uninstall MacPython, you can simply remove these three things. A symlink to the Python executable is placed in /usr/local/bin/.
简单来说就是
删除 /Library/Frameworks/Python.framework
删除 /usr/local/bin/ 下的 python 链接(symlink)
也就是你必须记住(分辨出哪个版本的文件)
https://segmentfault.com/q/1010000004563428/a-1020000004564265
网友评论