musicinformationretrieval.com icon indicating copy to clipboard operation
musicinformationretrieval.com copied to clipboard

unable to import stanford_mir

Open roshanbiswas opened this issue 4 years ago • 3 comments

I am using Python 3.7.3 and Jupyter Notebook 6.0.0, and have installed dependencies - numpy, scipy, pandas and librosa:

import stanford_mir
ModuleNotFoundError: No module named 'stanford_mir'

roshanbiswas avatar Feb 29 '20 15:02 roshanbiswas

You can find it here: https://raw.githubusercontent.com/stevetjoa/musicinformationretrieval.com/gh-pages/stanford_mir.py

ghost avatar Jun 14 '20 08:06 ghost

You can find it here: https://raw.githubusercontent.com/stevetjoa/musicinformationretrieval.com/gh-pages/stanford_mir.py

What does that even mean? What am i supposed to do with all this code? How would that fix "No module named 'stanford_mir'"??

Nighteg avatar Dec 06 '21 09:12 Nighteg

It means that the library is not installed in your environment. The link to the raw python script is a library itself - you might copy it to a python file and add to your working python repository. Or, you might copy the github directory, containing this file, cd to it and use the lib from there.

asnota avatar Mar 07 '23 10:03 asnota