我通过这个链接手动安装了Python3.7:https://websiteforstudents.com/installing-the-latest-python-3-7-on-ubuntu-16-04-18-04/。
我在Ubuntu中已经有了默认的Python3.4。我无法安装Python 3.7。请帮我做这件事。
发布于 2020-12-23 16:22:06
为了确定,可以使用以下命令列出可用的python版本
python3 --version通过此确认,您可以通过运行以下命令卸载不需要的版本(3.7):
sudo apt remove python3.7 #this removes only the python package要删除python包和不再需要的任何其他依赖包,请运行:
sudo apt autoremove python如果您还想从Ubuntu中删除python的配置和/或数据文件,请运行:
sudo apt purge python要删除所有相关的python3.7配置、数据文件和依赖项,请运行:
sudo apt autoremove --purge pythonhttps://stackoverflow.com/questions/65421007
复制相似问题