File D:\Anaconda\envs\mhyperG\lib\site-packages\hypernetx\read_write.py:10, in to_pickle(obj, filename)
8 """Writes object to a pickle file"""
9 with open(f"{filename}", "wb") as f:
---> 10 pickle.dump(obj, f)
TypeError: 'NoneType' object is not callable
How can I fix the bug?
File D:\Anaconda\envs\mhyperG\lib\site-packages\hypernetx\read_write.py:10, in to_pickle(obj, filename) 8 """Writes object to a pickle file""" 9 with open(f"{filename}", "wb") as f: ---> 10 pickle.dump(obj, f)
TypeError: 'NoneType' object is not callable
How can I fix the bug?