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.

librosa 0.5.0.dev0 display not a module

See original GitHub issue

Working with the dev branch at the moment the following provides an error:

>>> import librosa
>>> librosa.display
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
AttributeError: 'module' object has no attribute 'display'

Any idea what is causing this? I can’t figure it out.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:5
  • Comments:9 (7 by maintainers)

github_iconTop GitHub Comments

111reactions
bmcfeecommented, Nov 16, 2016

You need to explicitly import librosa.display now.

See #343 for the discussion going into this.

8reactions
polyrhythmaticcommented, Nov 16, 2016

facepalm… I even searched. Thanks.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Source code for librosa.util.utils
1: raise ParameterError( "Invalid shape for monophonic audio: " "ndim={:d}, shape={}".format(y.ndim, y.shape) ) if not np.isfinite(y).all(): raise ...
Read more >
Could not find a version that satisfies the requirement < ...
When I run the second pip install command again, the process is stopped now complaining about another required package and I need to...
Read more >
Package List — Spack 0.20.0.dev0 documentation
Versions: develop, 1.0.10, 1.0.9, xsdk-0.6.0, xsdk-0.5.0; Build Dependencies: ... as it does not include features such as screen locking or configurability.
Read more >
voice_commands_ANN
... !pip install librosa ! pip install python_speech_features ! pip ... pyasn1<0.5.0,>=0.4.6 in /opt/conda/lib/python3.7/site-packages (from ...
Read more >
module 'xlrd' has no attribute '__version__'
We'll show this source more for all searches ... ImportError: No module named 'xlrd' ... I have not restarted my VS Code after...
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