DCASE-REPO / dcase_util

A collection of utilities for Detection and Classification of Acoustic Scenes and Events
https://dcase-repo.github.io/dcase_util/
MIT License
127 stars 33 forks source link

Notebook error, but i already install it #41

Open ibnudaqiqil opened 2 years ago

ibnudaqiqil commented 2 years ago

I try to use dcase util in notebook but get this error

import dcase_util
ModuleNotFoundError: No module named 'dcase_util'

the I check, I already install it

!pip install dcase_util
Requirement already satisfied: dcase_util in /home/xxxx/anaconda3/envs/pytorch/lib/python3.8/site-packages (0.2.18)
toni-heittola commented 2 years ago

This issue is a bit hard to debug without knowing your python installation. The first thing is to make sure you are running Jupyter from the same Conda environment where dcase_util was installed.

ibnudaqiqil commented 2 years ago

Yes, i use same environment. I run this "!pip install dcase_util" in my notebook too