Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/mercurial/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
有没有办法在不使用Python2的情况下在Ubuntu focal上安装Mercurial?_Python_Mercurial - Fatal编程技术网

有没有办法在不使用Python2的情况下在Ubuntu focal上安装Mercurial?

有没有办法在不使用Python2的情况下在Ubuntu focal上安装Mercurial?,python,mercurial,Python,Mercurial,我非常小心,没有在我最新的Ubuntu Focus amd64系统中包含python 2.x。我在没有注意的情况下错误地安装了mercurial(sudo apt install mercurial)。它安装了以下软件包 The following package was automatically installed and is no longer required: python3-magic Use 'sudo apt autoremove' to remove it. The fo

我非常小心,没有在我最新的Ubuntu Focus amd64系统中包含python 2.x。我在没有注意的情况下错误地安装了mercurial(sudo apt install mercurial)。它安装了以下软件包

The following package was automatically installed and is no longer required:
  python3-magic
Use 'sudo apt autoremove' to remove it.
The following additional packages will be installed:
  libpython2-stdlib libpython2.7-minimal libpython2.7-stdlib mercurial-common python2 python2-minimal python2.7 python2.7-minimal
Suggested packages:
  kdiff3 | kdiff3-qt | kompare | meld | tkcvs | mgdiff qct python-mysqldb python-openssl python-pygments wish python2-doc python-tk python2.7-doc binfmt-support
The following NEW packages will be installed:
  libpython2-stdlib libpython2.7-minimal libpython2.7-stdlib mercurial mercurial-common python2 python2-minimal python2.7 python2.7-minimal

有没有办法避免蟒蛇2

是,从Mercurial v5.2开始:

python3-mpip安装mercurial