Open williams-jacquelinec opened 2 years ago
https://stackoverflow.com/questions/25348532/can-python-pickle-lambda-functions Check this post it may help.
Have you found a work around? This works for me using miniconda and the included YML enviromental config file...
I am having the same issue.. I tried both pip install and using conda with the YML file. Do you have any suggestions for workarounds?
I have been working on the empirical bayes footprint detection example from the Read the Docs tutorial (https://footprint-tools.readthedocs.io/en/latest/tutorials/posterior.html) but ran into an error when trying to run the
detect
tool command. The error states that there is an issue with pickling in thereduction.py
file. From looking online, I've found that pickling lambda functions is not supported by Python 3+. Is there a solution to this issue? Or maybe an updatedreduction.py
file available?I have also pasted the error message below: