在Ubuntu上安装Python

2024-09-28 03:21:29 发布

您现在位置:Python中文网/ 问答频道 /正文

我正在尝试将python版本从2.7.6升级到3.7.3,但在Ubuntu上出现以下错误:

E: Encountered a section with no Package: header
E: Problem with MergeList /var/lib/apt/lists/dl.google.com_linux_chrome_deb_dists_stable_main_i18n_Translation-en
E: The package lists or status file could not be parsed or opened.

我用来更新python版本的命令是

sudo apt-get install python3.7.3

Tags: orno版本packagevarubuntu错误with
1条回答
网友
1楼 · 发布于 2024-09-28 03:21:29

试试这个:

sudo rm /var/lib/apt/lists/* -vf
sudo apt-get clean all
sudo apt-get update && sudo apt-get upgrade
sudo apt-get install python3.7.3

相关问题 更多 >

    热门问题