“ERROR:root:code for hash md5 was not found” when using any hg mercurial commands

前端 未结 11 1828
臣服心动
臣服心动 2020-12-02 04:05

When trying to use any hg Mercurial commands on the console, I keep getting this error. I installed Python using Homebrew and I am running Mac OS Catalina v. 1

11条回答
  •  有刺的猬
    2020-12-02 05:02

    My problem was having pyenv installed and pointing to an old python 2 version

    Uninstall python@2 (python2 was EOL since Jan 1st, 2020)

    $ brew uninstall python@2
    Uninstalling /usr/local/Cellar/python@2/2.7.15_1... (4,169 files, 76.0MB)
    

    then

    $ pyenv versions
      system
    * 2.7.12 (set by /Users/admin/.python-version)
      3.4.5
      3.7.7
    
    $ pyenv local system
    $ pyenv global system
    

提交回复
热议问题