Problems connecting to rtmidi

Hello. I’m a Python noob (last month) but I’ve been programming for 30+ years. I’m a musician and I want to write an app that can talk to my DAW. So I got mido and rtmidi. However, my system is having difficulty seeing rtmidi. It’s there; pip says it’s properly installed, and it can work.

Problem:
In the rtmidi examples folder “midiout.py” runs fine. I use loopMIDI virtual port and my DAW is Studio One. It opens a port, plays a note, shuts it down and ends. Works great!

So I copy the code from “midiout.py” and put it in my program. All the imports are there as well as the ‘Choose a Port’ routine. Try a run… nope.
“ModuleNotFoundError: No module named ‘mido.backends.rtmidi’”

My file and ‘midiout’ are in the same folder and my PATH is as it should be. So how is it not working?

Thx in advance for any help with this.