linux卸载python3.6,当python3.6位于/usr/local/bin/python3.6时,如何在ubuntu上卸载它

所以我默认的python3版本是3.7.5which python3

/usr/bin/python3

现在我的python3.6安装在:which python3.6

/usr/local/bin/python3.6

如果我这样卸载它:sudo apt-get remove --purge python3.6

Reading package lists... Done

Building dependency tree

Reading state information... Done

Note, selecting 'python3.6-2to3' for regex 'python3.6'

Note, selecting 'libpython3.6-stdlib' for regex 'python3.6'

Note, selecting 'python3.6-rpy2' for regex 'python3.6'

Package 'libpython3.6-stdlib' is not installed, so not removed

Package 'python3.6-2to3' is not installed, so not removed

0 upgraded, 0 newly installed, 0 to remove and 9 not upgraded.

如果是这样的话:sudo apt-get remove --purge /usr/local/bin/python3.6

Reading package lists... Done

E: Unsupported file /usr/local/bin/python3.6 given on commandline

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值