Hi,

I am not using Python with MITK but a few months ago I improved MITK’s Python 3 
integration as it was a little chaotic before and was a pain to set up in CI. 
It was only merged into our master branch though, as our CMake interface 
changed a little (it’s MITK_USE_Python3 now compared to the old 
MITK_USE_Python). More information here [1].

Python 3.6 Is just fine, but since October Python 3.7 is supposed to work as 
well [2].

If you’re working with macOS, see the comment in T26559 related to 
CMAKE_FRAMEWORK_PATH if you have issues setting a specific Python installation.

[1] https://phabricator.mitk.org/T26559
[2] https://phabricator.mitk.org/T26701


From: Dimitris Bounias [mailto:bounias.dimit...@gmail.com]
Sent: Wednesday, November 20, 2019 7:58 PM
To: mitk-users@lists.sourceforge.net
Subject: [mitk-users] Python

Greetings,

We want to build mitk and develop plugins and some of those plugins will use 
python. We prefer python 3.6.

1) Is there any way to use python 3.6 on MITK 2018.04.2? Or is that a feature 
of an upcoming release? If yes, is there a rough timeline for the next release?

2) We can't build with python 2.7 either. But maybe that's a problem from our 
side. We specified MITK_USE_PYTHON, PYTHON_EXECUTABLE, PYTHON_INCLUDE_DIR, 
PYTHON_LIBRARY to our distribution's default paths, but the build was 
complaining about "bad install directory or PYTHONPATH". This is under linux 
mint 19.2 (basically ubuntu 18.04)

Thanks a lot!
Dimitris
_______________________________________________
mitk-users mailing list
mitk-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mitk-users

Reply via email to