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

Installation instructions don't work #80

Closed
turian opened this issue Dec 15, 2020 · 2 comments
Closed

Installation instructions don't work #80

turian opened this issue Dec 15, 2020 · 2 comments

Comments

@turian
Copy link
Contributor

turian commented Dec 15, 2020

I am trying to install master so I can try the Gammatonegram. (Will you make a new pre-release soon?)

I follow the installation instructions here: https://kinwaicheuk.github.io/nnAudio/intro.html#installation

However, it doesn't work. You can see a minimal colab here:

https://colab.research.google.com/drive/15ItkuaZV0XCR7nzsC0mr_3jj374s-Knz?usp=sharing

!git clone https://github.com/KinWaiCheuk/nnAudio.git
!cd nnAudio/Installation/ && python3 setup.py install
from nnAudio import Spectrogram
>>> ImportError: cannot import name 'Spectrogram'
@KinWaiCheuk
Copy link
Owner

It seems to be a specific problem in Colab, since it is working fine in a local machine.

Can you try this command to install nnAudio in colab instead?
!pip install git+https://github.com/KinWaiCheuk/nnAudio.git#subdirectory=Installation

@turian
Copy link
Contributor Author

turian commented Dec 16, 2020

That appears to work.

@turian turian closed this as completed Dec 16, 2020
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

2 participants