Open nadavv169 opened 8 months ago
Can you post a simple example code that reproduces the issue you are seeing?
TypeError Traceback (most recent call last) Cell In[8], line 1 ----> 1 dill.dump_module(filename=file_path)
File ~/anaconda3/lib/python3.11/site-packages/dill/session.py:222, in dump_module(filename, module, refimported, **kwds) 220 main = _import_module(main) 221 if not isinstance(main, ModuleType): --> 222 raise TypeError("%r is not a module" % main) 223 if hasattr(filename, 'write'): 224 file = filename
TypeError: <IPython.core.interactiveshell.DummyMod object at 0x7fca253708d0> is not a module
I have a jupyter notebook with Jupyter Enterprise Gateway architecture and i am trying to use the dump_module() function in my notebook but i'm getting the error:
TypeError: <IPython.core.interactiveshell.DummyMod object at .... is not a module
I tried to run the same function in jupyter notebook without remote kernel and it worked, so i assume the issue is with the remote-kernel.
any ideas to solution?
relevant packages versions: dill==0.3.7 ipython==7.34.0 ipykernel==5.5.6 jupyter-enterprise-gateway==3.2.2