如何在ubuntu 18.4中卸载python 3.6.9

问题描述 投票:0回答:1
student@HP:~$ sudo apt-get remove --purge python3.6.9
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package python3.6.9
E: Couldn't find any package by glob 'python3.6.9'
E: Couldn't find any package by regex 'python3.6.9'
student@HP:~$ python3 --version

我尝试了很多时间来卸载但尚未完成。

student@HP:~$ sudo apt-get remove --purge python3.6.9
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package python3.6.9
E: Couldn't find any package by glob 'python3.6.9'
E: Couldn't find any package by regex 'python3.6.9'
student@HP:~$ python3 --version

student@HP:~$ sudo apt-get remove --purge python3.6.9
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package python3.6.9
E: Couldn't find any package by glob 'python3.6.9'
E: Couldn't find any package by regex 'python3.6.9'
student@HP:~$ python3 --version
ubuntu python-3.6 sudo uninstallation purge
1个回答
-1
投票

您需要使用命令 ' $PIP uninstall '.: 'pip uninstall -flask' 使用 Python 3.6: 'pip3.6 uninstall --userflask' 之后输入 y 卸载它。

© www.soinside.com 2019 - 2024. All rights reserved.