Import netgen error

More
3 years 2 months ago #3940 by bakerk
Import netgen error was created by bakerk
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
More
3 years 2 months ago #3941 by matthiash
Replied by matthiash on topic Import netgen error
Hi Kaite,

which version of ipykernel do you have?
You either need <=4.10 or >= 5.3.2, see here:
github.com/ipython/ipykernel/pull/523

Best,
Matthias
More
3 years 2 months ago #3942 by bakerk
Replied by bakerk on topic Import netgen error
Changing my version of ipykernel has worked! Thank you
Time to create page: 0.098 seconds