我遇到了麻烦,我不想再次重新安装操作系统

时间:2019-06-23 02:57:17

标签: python-3.x ubuntu-14.04

我想在Ubuntu中安装python3.7,所以我删除了python3.4 by

sudo apt-get remove python3.4
sudo apt-get purge python3.4

只有这样我才发现问题,某些系统文件是由python3.4编写的。

通过输入sudo apt-get install python3.7-minimal,我得到了unable to locate python3.7-minimal couldn't find any package by regex python3.7-minimal

我真的很害怕,我不想再次重新安装操作系统!

我该怎么办?

1 个答案:

答案 0 :(得分:1)

删除Python对您的系统造成任何损害的可能性很小。如果您看到证据,请问关于该证据的问题。

但是,Ubuntu 14上的Python 3.7是一个非常老的Ubuntu上的一个非常新的Python。当然,没有Ubuntu提供的官方软件包,甚至Jonothon Fdeadsnakes的流行PPA也都不支持这种组合。

如果无法升级到较新的Ubuntu,则必须尝试自己编译Python 3.7。有很多关于此的指南,但是通常不适合那些胆小的人。您可以启动here