网站建设刂搜金手指下拉二五,厦门seo外包服务,合肥广告公司,求个网站你会感谢我的一.彻底卸载自己安装的python Python3 安装完后#xff0c;在系统中不同目录下存在各种依赖关系#xff0c;若需卸载#xff0c;需要一步步无残留完全卸载干净。 删除Python 3.7 框架#xff0c;打开终端#xff0c;输入
sudo rm -rf /Library/Frameworks/Python.frame…一.彻底卸载自己安装的python Python3 安装完后在系统中不同目录下存在各种依赖关系若需卸载需要一步步无残留完全卸载干净。 删除Python 3.7 框架打开终端输入
sudo rm -rf /Library/Frameworks/Python.framework/Versions/3.7
删除 Python 3.7 应用目录
cd /Applications
sudo rm -rf Python 3.7
删除/usr/local/bin 目录下指向的Python3.7 的连接
cd /usr/local/bin/
ls -l /usr/local/bin
rm Python3.7相关的文件和链接
#Python3.7相关的文件和链接需要自行确认是否删除
删除 Python 的环境路径
vi ~/.bash_profile
确认python 是否已经删除
python3.7
-bash: python3.7: command not found
二.卸载通过brew安装的python
1.brew list 看下安装了哪个版本的python
2.brew uninstall --force python 彻底清除所有python(也可以单独删除)