Import netgen error

Hi,

I had some issues with my python files so have had to reinstall everything from scratch (using jupyter notebook to run my scripts). I’ve followed the steps on the downloads page for both installing via anaconda and the other install method. Both times I get the same error:

D:\Python\lib\site-packages\ipykernel\eventloops.py:256: RuntimeWarning: coroutine ‘Kernel.do_one_iteration’ was never awaited
self.func()
RuntimeWarning: Enable tracemalloc to get the object allocation traceback

when I run the command ‘import netgen.gui’. Any ideas as to what I can do to resolve this error? Google suggested reinstalling the ipykernel but that didn’t make a difference.

Thanks,
Kaite

Hi Kaite,

which version of ipykernel do you have?
You either need <=4.10 or >= 5.3.2, see here:

Best,
Matthias

Changing my version of ipykernel has worked! Thank you