New plan: repaired my virtualenv setup (broken by operating system upgrade) and created a a Python 3 virtualenv.
Now all I need to do to is rebuild the virutalenv on the server to also be Python 3.