Esca
Esca

Reputation: 15

creating midi files using python or installing midiutil

The stumbling block I'm currently at, trying to use MIDIUtil (https://midiutil.readthedocs.io/en/1.2.1/), is the installation. I have managed to get MIDIUtil installed, but I've been butting heads with "python setup.py install" for a while. For some reason, I can't get the terminal to recognise the file exists. I can't just drag the file onto the terminal as the install file uses other files in the same folder, that the terminal then can't find. What I suspect is that I have misunderstood something in regards to what folder branch it's actually set to (and looking through).

The attached image just shows me trying to run the installation, which folder the file is in, and that the file exists.

https://i.sstatic.net/drpMf.png

Upvotes: 0

Views: 876

Answers (1)

CL.
CL.

Reputation: 180010

The setup.py file is stored in /Users/esca/MIDIUtil.

The shell prompt shows that its current directory is your home directory, i.e., /Users/esca.

You have to change into the MIDIUtil directory first:

cd MIDIUtil
python setup.py install

Upvotes: 1

Related Questions