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