2

hg-git拡張機能を python pip でインストールしたかったのですが、 pip(Python2) とpip3(Python3) のどちらを使用すべきかわかりません。

hg versionこれを与える:

$ hg version
Mercurial Distributed SCM (version 4.8.2)
(see https://mercurial-scm.org for more information)

Copyright (C) 2005-2018 Matt Mackall and others
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Enabled extensions:

  fetch     internal
  graphlog  internal
  histedit  internal
  strip     internal
  mq        internal
  purge     internal
  rebase    internal
  record    internal
$

最初に試しpip3 install hg-gitてみましたが、インストール後に機能しませんでした。それから私は使用pipしましたが、うまくいきました。そもそも Mercuial の Python バージョンを確認する方法に興味があります。

4

2 に答える 2