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.

FutureWarning: Using a non-tuple sequence for multidimensional indexing is deprecated

See original GitHub issue

It’s just a deprecation warning, but it should be use to fix it

/Library/Python/2.7/site-packages/scipy/signal/signaltools.py:2383: FutureWarning: Using a non-tuple sequence for multidimensional indexing is deprecated; use `arr[tuple(seq)]` instead of `arr[seq]`. In the future this will be interpreted as an array index, `arr[np.array(seq)]`, which will result either in an error or a different result.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
f90commented, Dec 20, 2018

Scipy 1.2 was released via pip now. If you take the Wave-U-Net virtualenv and upgrade your scipy package via

pip install --upgrade scipy

to install the new 1.2 version, can you verify that this warning disappears?

2reactions
f90commented, Nov 16, 2018

This is an issue within the scipy library, so I have pretty much nothing to do with this. It seems other people have similar issues, an there is a problem in general with scipy versions below 1.2, see here

I noticed that we are using scipy 1.1 and so probably this will be fixed by updating to 1.2, however it is not available via pip as far as I can tell, so I think we are going to have to ignore it for now.

I am going to leave the issue open so that when scipy 1.2 comes out I will remember to try to update the project to that.

Thanks for reporting.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Using a non-tuple sequence for multidimensional indexing is ...
... FutureWarning: Using a non-tuple sequence for multidimensional indexing is deprecated; use `arr[tuple(seq)]` instead of `arr[seq]`.
Read more >
Suggestion in warning message about non-tuple indexing ...
FutureWarning : Using a non-tuple sequence for multidimensional indexing is deprecated; use arr[tuple(seq)] instead of arr[seq] .
Read more >
Using a non-tuple sequence for multidimensional indexing is ...
Pandas : FutureWarning : Using a non-tuple sequence for multidimensional indexing is deprecated use `arr[tuple(seq)]` [ Beautify Your ...
Read more >
FutureWarning w/ SpatialDataFrame - Esri Community
Hello All, I'm getting the following FutureWarning when using the ... a non-tuple sequence for multidimensional indexing is deprecated; use ...
Read more >
FutureWarning: Using a non-tuple sequence for multidimensional ...
FutureWarning : Using a non-tuple sequence for multidimensional indexing is deprecated use `arr[tuple(seq)]`. data = np.genfromtxt(Example.csv, delimiter = ' ...
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