While the current official Python version is 3.6, msys2 provides two packages for python3
:
msys/python3
, currently using 3.4mingw64/mingw-w64-x86_64-python3
, currently using 3.5So which version should I use when and how? Can't I just use the Windows 3.6 and somehow tell pacman
to use that? Or can I get 3.6 running in a msys/mingw'd version and also use that in Windows so I don't need two/three installations?
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