results.anova_all(multicore=4)
[ 0% ] 0 of 911 complete in 0.0 secTraceback (most recent call last):
File "", line 1, in
File ".../GDSCtools/env/lib/python3.9/site-packages/gdsctools-1.1.0-py3.9.egg/gdsctools/anova.py", line 890, in anova_all
multicore_analysis(self, drug_names, multicore)
File ".../GDSCtools/env/lib/python3.9/site-packages/gdsctools-1.1.0-py3.9.egg/gdsctools/anova.py", line 1018, in multicore_analysis
t.run()
File ".../GDSCtools/env/lib/python3.9/site-packages/easydev-0.12.0-py3.9.egg/easydev/multicore.py", line 113, in run
self.pool = Pool(self.maxcpu, init_worker)
...
File ".../python@3.9/3.9.4/Frameworks/Python.framework/Versions/3.9/lib/python3.9/multiprocessing/popen_spawn_posix.py", line 47, in _launch
reduction.dump(process_obj, fp)
File ".../python@3.9/3.9.4/Frameworks/Python.framework/Versions/3.9/lib/python3.9/multiprocessing/reduction.py", line 60, in dump
ForkingPickler(file, protocol).dump(obj)
AttributeError: Can't pickle local object 'MultiProcessing.run..init_worker'
"
I suspect this is related to use of easydev.
For example:
"