source-separation / tutorial

Tutorial covering Open Source tools for Source Separation.
https://source-separation.github.io/tutorial
Other
355 stars 39 forks source link

failed to import nussl #48

Open iftrush opened 1 year ago

iftrush commented 1 year ago

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?

RayyanMasood commented 10 months ago

Same issue. Any fixes?

3davis9 commented 6 months ago

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