mac如何卸载python3.6

python

mac如何卸载python3" title="python3">python3.6?方法如下:

相关推荐:《Python基础教程》

(1)删除Python 3.6 framework

sudo rm -rf /Library/Frameworks/Python.framework/Versions/3.6

(2)删除Python 3.6 应用目录

sudo rm -rf "/Applications/Python 3.6"

(3)删除/usr/local/bin 目录下指向的Python3.6的连接

cd /usr/local/bin/ 

ls -l /usr/local/bin | grep '../Library/Frameworks/Python.framework/Versions/3.6' | awk '{print $9}' 

| tr -d @ xargs rm

以上是 mac如何卸载python3.6 的全部内容, 来源链接: utcz.com/z/523854.html

回到顶部