Pyimagej imagej.py.show issues on MacOS

I am trying to get familiar with using pyimagej following the jupyter notebook 6-ImageJ-with-Python-Kernel.ipynb.

I am running into issues with the ij.py.show(img) command.

pyimagej_tutorial.py:

import imagej
ij = imagej.init("/Users/64h/Applications/Fiji.app")
#ij = imagej.init('sc.fiji:fiji')

from skimage import io
import numpy as np
img = io.imread('https://samples.fiji.sc/new-lenna.jpg')
img = np.mean(img[500:1000,300:850], axis=2)
ij.py.show(img, cmap = 'gray')

If I simply try to run python pyimagej_tutorial.py, the code freezes after printing

In -[NSApplication(NSQuietSafeQuit) _updateCanQuitQuietlyAndSafely], _LSSetApplicationInformationItem(NSCanQuitQuietlyAndSafely) returned error -50

to the terminal.

Alternatively, I have tried to incorporate the suggested fix suggested here. In this case, the code simply crashes and outputs an error log to the terminal:

2020-05-07 16:15:05.851 python[39600:819138] [JRSAppKitAWT markAppIsDaemon]: Process manager already initialized: can't fully enable headless mode.
2020-05-07 16:15:09.015 python[39600:819172] -[NSApplication macMinorVersion]: unrecognized selector sent to instance 0x7fddfa30f450
2020-05-07 16:15:09.017 python[39600:819172] Apple AWT Internal Exception: -[NSApplication macMinorVersion]: unrecognized selector sent to instance 0x7fddfa30f450
2020-05-07 16:15:09.017 python[39600:819172] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[NSApplication macMinorVersion]: unrecognized selector sent to instance 0x7fddfa30f450'
*** First throw call stack:
(
	0   CoreFoundation                      0x00007fff3a306acd __exceptionPreprocess + 256
	1   libobjc.A.dylib                     0x00007fff64a08a17 objc_exception_throw + 48
	2   CoreFoundation                      0x00007fff3a3808d6 -[NSObject(NSObject) __retain_OA] + 0
	3   CoreFoundation                      0x00007fff3a2a893f ___forwarding___ + 1485
	4   CoreFoundation                      0x00007fff3a2a82e8 _CF_forwarding_prep_0 + 120
	5   libtk8.6.dylib                      0x000000014ba2c379 SetCGColorComponents + 265
	6   libtk8.6.dylib                      0x000000014ba2cc3d TkpGetColor + 253
	7   libtk8.6.dylib                      0x000000014b966869 Tk_GetColor + 153
	8   libtk8.6.dylib                      0x000000014b956756 Tk_Get3DBorder + 134
	9   libtk8.6.dylib                      0x000000014b9565bf Tk_Alloc3DBorderFromObj + 127
	10  libtk8.6.dylib                      0x000000014b967d2f DoObjConfig + 943
	11  libtk8.6.dylib                      0x000000014b967861 Tk_InitOptions + 353
	12  libtk8.6.dylib                      0x000000014b967745 Tk_InitOptions + 69
	13  libtk8.6.dylib                      0x000000014b998ba3 CreateFrame + 1539
	14  libtk8.6.dylib                      0x000000014b998e87 TkListCreateFrame + 151
	15  libtk8.6.dylib                      0x000000014b9907c8 Initialize + 2136
	16  _tkinter.cpython-37m-darwin.so      0x000000013cba9b0f Tkapp_New + 911
	17  _tkinter.cpython-37m-darwin.so      0x000000013cba961d _tkinter_create + 301
	18  python                              0x000000010c300f36 _PyMethodDef_RawFastCallKeywords + 230
	19  python                              0x000000010c435e3c call_function + 364
	20  python                              0x000000010c42d7aa _PyEval_EvalFrameDefault + 20618
	21  python                              0x000000010c427002 _PyEval_EvalCodeWithName + 498
	22  python                              0x000000010c2ff4dd _PyFunction_FastCallDict + 445
	23  python                              0x000000010c380bd5 slot_tp_init + 181
	24  python                              0x000000010c38b45b type_call + 235
	25  python                              0x000000010c3006e3 _PyObject_FastCallKeywords + 179
	26  python                              0x000000010c435ed3 call_function + 515
	27  python                              0x000000010c42e014 _PyEval_EvalFrameDefault + 22772
	28  python                              0x000000010c300bdd _PyFunction_FastCallKeywords + 205
	29  python                              0x000000010c435d8c call_function + 188
	30  python                              0x000000010c42d7aa _PyEval_EvalFrameDefault + 20618
	31  python                              0x000000010c427002 _PyEval_EvalCodeWithName + 498
	32  python                              0x000000010c2ff4dd _PyFunction_FastCallDict + 445
	33  python                              0x000000010c30381a method_call + 122
	34  python                              0x000000010c30156f PyObject_Call + 127
	35  python                              0x000000010c42e0fb _PyEval_EvalFrameDefault + 23003
	36  python                              0x000000010c427002 _PyEval_EvalCodeWithName + 498
	37  python                              0x000000010c300c8b _PyFunction_FastCallKeywords + 379
	38  python                              0x000000010c435d8c call_function + 188
	39  python                              0x000000010c42df74 _PyEval_EvalFrameDefault + 22612
	40  python                              0x000000010c300bdd _PyFunction_FastCallKeywords + 205
	41  python                              0x000000010c435d8c call_function + 188
	42  python                              0x000000010c42df74 _PyEval_EvalFrameDefault + 22612
	43  python                              0x000000010c427002 _PyEval_EvalCodeWithName + 498
	44  python                              0x000000010c300c8b _PyFunction_FastCallKeywords + 379
	45  python                              0x000000010c435d8c call_function + 188
	46  python                              0x000000010c42df74 _PyEval_EvalFrameDefault + 22612
	47  python                              0x000000010c427002 _PyEval_EvalCodeWithName + 498
	48  python                              0x000000010c300c8b _PyFunction_FastCallKeywords + 379
	49  python                              0x000000010c435d8c call_function + 188
	50  python                              0x000000010c42e014 _PyEval_EvalFrameDefault + 22772
	51  python                              0x000000010c427002 _PyEval_EvalCodeWithName + 498
	52  python                              0x000000010c300c8b _PyFunction_FastCallKeywords + 379
	53  python                              0x000000010c435d8c call_function + 188
	54  python                              0x000000010c42e014 _PyEval_EvalFrameDefault + 22772
	55  python                              0x000000010c427002 _PyEval_EvalCodeWithName + 498
	56  python                              0x000000010c421e2a builtin_exec + 346
	57  python                              0x000000010c300f36 _PyMethodDef_RawFastCallKeywords + 230
	58  python                              0x000000010c435e3c call_function + 364
	59  python                              0x000000010c42df74 _PyEval_EvalFrameDefault + 22612
	60  python                              0x000000010c427002 _PyEval_EvalCodeWithName + 498
	61  python                              0x000000010c300c8b _PyFunction_FastCallKeywords + 379
	62  python                              0x000000010c435d8c call_function + 188
	63  python                              0x000000010c42df74 _PyEval_EvalFrameDefault + 22612
	64  python                              0x000000010c427002 _PyEval_EvalCodeWithName + 498
	65  python                              0x000000010c300c8b _PyFunction_FastCallKeywords + 379
	66  python                              0x000000010c435d8c call_function + 188
	67  python                              0x000000010c42e014 _PyEval_EvalFrameDefault + 22772
	68  python                              0x000000010c427002 _PyEval_EvalCodeWithName + 498
	69  python                              0x000000010c300c8b _PyFunction_FastCallKeywords + 379
	70  python                              0x000000010c435d8c call_function + 188
	71  python                              0x000000010c42e014 _PyEval_EvalFrameDefault + 22772
	72  python                              0x000000010c300bdd _PyFunction_FastCallKeywords + 205
	73  python                              0x000000010c435d8c call_function + 188
	74  python                              0x000000010c42df74 _PyEval_EvalFrameDefault + 22612
	75  python                              0x000000010c2ff3e5 _PyFunction_FastCallDict + 197
	76  _objc.cpython-37m-darwin.so         0x000000010ca666fa method_stub + 1354
	77  _objc.cpython-37m-darwin.so         0x000000010ca89394 ffi_closure_unix64_inner + 708
	78  _objc.cpython-37m-darwin.so         0x000000010ca888b6 ffi_closure_unix64 + 70
	79  libsystem_pthread.dylib             0x00007fff663cb2eb _pthread_body + 126
	80  libsystem_pthread.dylib             0x00007fff663ce249 _pthread_start + 66
	81  libsystem_pthread.dylib             0x00007fff663ca40d thread_start + 13
)
libc++abi.dylib: terminating with uncaught exception of type NSException

Any advice would be appreciated.
I am running MacOSX 10.14.6 and installed pyimagej using conda.