machine_music icon indicating copy to clipboard operation
machine_music copied to clipboard

ModuleNotFoundError: No module named 'mt_exceptions'

Open bipsen opened this issue 6 years ago • 1 comments

I get this error when I try to run tonal.py. Is it an issue with using Python 3?

>>> python tonal.py HarmonicMajor A
Traceback (most recent call last):
    File "tonal.py", line 2, in <module>
        import mingus.core.notes as notes
    File "/Users/bertilipsen/anaconda3/lib/python3.6/site-packages/mingus/core/notes.py", line 29, in <module>
        from mt_exceptions import NoteFormatError, RangeError, FormatError
ModuleNotFoundError: No module named 'mt_exceptions'

Thanks!

bipsen avatar Jul 12 '18 11:07 bipsen

Ran 2to3 on the mingus source code and I don't get this error anymore. Nothing seems to happen when I run tonal.py though, am I doing something wrong? Edit: I see tonal.py is just a bunch of classes (apologies for all this, I'm totally new to Python). Is it possible to get the script you used in the video (tonal_script.py)?

bipsen avatar Jul 12 '18 12:07 bipsen