Reputation: 319
I am getting this error: AttributeError: module 'midi' has no attribute 'read_midifile'
I have tried all the solutions that are available on GitHub.
I have also tried to reinstall the module and the most suggested solution for python3 was:
pip install git+https://github.com/vishnubob/python-mid i@feature/python3
but still, it's giving me this error.
Thanks in advance.
Upvotes: 2
Views: 2285
Reputation: 11
I had the same problem as you.
And I solved the problem by using this. try this!
pip3 install git+https://github.com/vishnubob/python-midi@feature/python3
or
pip install git+https://github.com/vishnubob/python-midi@feature/python3
Upvotes: 1