Which Python should I install (and how) when using msys2?

后端 未结 3 1487
清酒与你
清酒与你 2021-01-03 13:23

While the current official Python version is 3.6, msys2 provides two packages for python3:

  • msys/python3, currently using 3.4
3条回答
  •  旧时难觅i
    2021-01-03 13:45

    This is what I'm using on msys2 to install python3:

    $ pacman -Syuu
    

    Close and restart msys2.

    $ pacman -S mingw-w64-x86_64-python3-bsddb3 mingw-w64-x86_64-gexiv2 mingw-w64-x86_64-ghostscript mingw-w64-x86_64-python3-cairo mingw-w64-x86_64-python3-gobject mingw-w64-x86_64-python3-icu mingw-w64-x86_64-iso-codes mingw-w64-x86_64-hunspell mingw-w64-x86_64-hunspell-en mingw-w64-x86_64-enchant
    

    To deal with this error "No intltool or version < 0.25.0, build_intl is aborting" perform the following:

    $ pacman -S intltool
    

    Add these to test:

    $ pacman -S mingw-w64-x86_64-python3-lxml
    $ pacman -S mingw-w64-x86_64-python3-jsonschema
    

    Execute this command to verify python3 is properly installed:

    $ python3 --version
    Python 3.6.4
    

    For details please see https://www.gramps-project.org/wiki/index.php?title=Gramps_for_Windows_with_MSYS2

提交回复
热议问题