输入
caohedeMBP:~ caohe$ python3
Python 3.8.2 (default, Nov 4 2020, 21:23:28)
[Clang 12.0.0 (clang-1200.0.32.28)] on darwin
Type “help”, “copyright”, “credits” or “license” for more information.
我明明没有安装这个3.8.2,他是怎么冒出来的
输入
caohedeMBP:~ caohe$ python3
Python 3.8.2 (default, Nov 4 2020, 21:23:28)
[Clang 12.0.0 (clang-1200.0.32.28)] on darwin
Type “help”, “copyright”, “credits” or “license” for more information.
我明明没有安装这个3.8.2,他是怎么冒出来的
可能你安装了多个python环境
用which python命令可以找出来位置
输入which没有找到
那就用where代替
1.brew list 看下安装了哪个版本的python
2.brew uninstall --force python 彻底清除所有python(也可以单独删除)