tutorial icon indicating copy to clipboard operation
tutorial copied to clipboard

failed to import nussl

Open iftrush opened this issue 8 months ago • 2 comments

I try to play with the colab notebook you provided. However, when I try to run

%%capture
!pip install scaper
!pip install nussl
!pip install git+https://github.com/source-separation/tutorial
%%capture
from common import data, viz
import nussl
# Prepare MUSDB
data.prepare_musdb('~/.nussl/tutorial/')

I run into issue as below ModuleNotFoundError Traceback (most recent call last) in <cell line: 1>() ----> 1 from common import data, viz 2 import nussl 3 # Prepare MUSDB 4 data.prepare_musdb('~/.nussl/tutorial/')

ModuleNotFoundError: No module named 'common'


NOTE: If your import is failing due to a missing package, you can manually install dependencies using either !pip or !apt.

To view examples of installing some common dependencies, click the "Open Examples" button below.

How to solve this?

iftrush avatar Oct 12 '23 20:10 iftrush

Same issue. Any fixes?

RayyanMasood avatar Jan 05 '24 08:01 RayyanMasood

try using this import statement: !apt-get install libsox-dev !pip install git+https://github.com/source-separation/tutorial !pip install wheel !pip install scaper !pip install nussl

3davis9 avatar Apr 29 '24 23:04 3davis9