question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

scipy.misc.logsumexp is deprecated

See original GitHub issue

scipy.misc.logsumexp, used here, is deprecated (see here), and currently yields an AttributeError if AutoGrad is imported with the latest version of SciPy. Simply changing the import to scipy.special.logsumexp should be sufficient (see here).

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:5
  • Comments:6 (1 by maintainers)

github_iconTop GitHub Comments

2reactions
slindermancommented, Jul 15, 2019

Any update on when this change will make it into PyPI? It has been breaking my Travis checks on one of my repo’s for the past few months.

2reactions
j-townscommented, Jun 4, 2019

Indeed it was, if you can install Autograd from the github master branch please do. I’m gonna contact someone to see if we can get an update pushed to PyPI and gonna close this for now since it has been fixed in master.

Read more comments on GitHub >

github_iconTop Results From Across the Web

scipy.misc.logsumexp — SciPy v1.1.0 Reference Guide
misc is deprecated in scipy 1.0.0. Use scipy.special.logsumexp instead. Compute the log of the sum of exponentials of input elements.
Read more >
ImportError: cannot import name 'logsumexp' from 'scipy.misc ...
The function logsumexp used to be scipy.misc , but that was deprecated quite a while ago, and now logsumexp is in scipy.special ....
Read more >
SciPy 1.3.0 Release Notes
The former set has been deprecated since v0.19.0 and the latter has been deprecated since v1.0.0. Similarly, aliases from scipy.misc ( comb ,...
Read more >
Broken: conda env create -n gatk -f gatkcondaenv.yml
All this tests, really, is that the conda env python is working and that ... this will break a scipy.misc.logsumexp import (deprecated in ......
Read more >
Python Examples of scipy.misc.logsumexp - ProgramCreek.com
This page shows Python examples of scipy.misc.logsumexp. ... "`logsumexp` is deprecated") assert_allclose(logsumexp([0, 1]), sc_logsumexp([0, 1]), ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found