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

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

:

  • msys/python3

    , currently using 3.4
  • mingw64/mingw-w64-x86_64-python3

    , currently uses 3.5

So which version should I use, when and how? Can't I just use Windows 3.6 and tell me to use that somehow pacman

? Or can I get 3.6 working on msys / mingw'd version and also use that on Windows so I don't need two / three installations?

0


source to share


1 answer


This is what I use 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 canceling" do the following:

$ pacman -S intltool

      



Add them to test:

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

      

Run this command to check if python3 is installed correctly:

$ python3 --version
Python 3.6.4

      

See https://www.gramps-project.org/wiki/index.php?title=Gramps_for_Windows_with_MSYS2 for details

+1


source







All Articles