linux卸载python3.6,当python3.6位于/usr/local/bin/python3.6时,如何在ubuntu上卸载它
所以我默認的python3版本是3.7.5which python3
/usr/bin/python3
現(xiàn)在我的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
總結(jié)
以上是生活随笔為你收集整理的linux卸载python3.6,当python3.6位于/usr/local/bin/python3.6时,如何在ubuntu上卸载它的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: SEH in ASM 研究(一)
- 下一篇: 你最隐秘的性格在哪?