CCMgen icon indicating copy to clipboard operation
CCMgen copied to clipboard

AttributeError: 'str' object has no attribute 'decode' (scipy1.7)

Open htalibart opened this issue 4 years ago • 0 comments

Hello,

When running the simple example provided in your wiki, CCMpred failed with the following error in ccmpred/algorithm/lbfgs.py, line 91, in minimize: AttributeError: 'str' object has no attribute 'decode' It seems to be because I am using a newer version of scipy (scipy1.7.1).

Replacing line 91 of ccmpred/algorithm/lbfgs.py: "message": res.message.decode("utf-8"), with "message": res.message, fixed it for me.

htalibart avatar Sep 02 '21 15:09 htalibart