> On 16 Mar 2018, at 20:39, Ben Byram-Wigfield wrote:
>
> I’m trying to use a Completion Handler block as an argument for a Cocoa
> AVMIDIPlayer method:
>
> midiPlayer =
> AVMIDIPlayer.alloc().initWithContentsOfURL_soundBankURL_error_(midiFile,
> None, None)
> midiPlayer.prepareToPlay()
> m
Mac users:
If you are running macOS/OS X version 10.12 or older, you need to
upgrade to the latest pip (9.0.3) to connect to the Python Package Index
securely:
curl https://bootstrap.pypa.io/get-pip.py | python
Pip 9.0.3 supports TLSv1.2 when running under system Python on macOS <
10.13. Off