SlicerElastix not compatible with nightly

bug
(Alex Vergara) #1

When installing SlicerElastix it says

File “/Users/alex/Applications/Slicer.app/Contents/Extensions-28138/SlicerElastix/lib/Slicer-4.11/qt-scripted-modules/Elastix.py”, line 330
print e
^
SyntaxError: Missing parentheses in call to ‘print’. Did you mean print(e)?

0 Likes

(Andras Lasso) #2

Thanks for reporting this. Slicer core has been upgraded to Python3 but most extensions have not been made Python3 compatible yet.

@jcfr are you going to submit a pull request for SlicerElastix? In general, do you plan to send pull requests for most extensions?

0 Likes

(Alex Vergara) #3

I am very happy for the python3 upgrade :smiley: Now the bundled python can release the GIL and numpy runs in multiprocessing using several cores.

1 Like

(Jean Christophe Fillion Robin) #4

SlicerElastix has been updated to support Python3.

This will happen on “as needed” basis.

1 Like

(Andras Lasso) #5

Great, thank you!

Do you mean we can ask for your help whenever we want to upgrade an extension to be compatible with Python3?

0 Likes