Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
htalibart opened this issue Sep 2, 2021 · 0 comments
Open

Comments

@htalibart
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant