• Fwd: pygame.midi input/output not working

    From Patrick EGLOFF@21:1/5 to All on Thu Dec 22 06:33:07 2022
    Hi Thomas,

    Thanks for the answer AND solution !
    That was it... shame on me, I didn't notice this warning.

    I uninstalled 3.11.1 and installed 3.10.9, and my software is back to live
    !

    Now I have to figure out another problem. I will make another post about
    this serial weird behavior.

    Thanks for making my day !
    Patrick

    Le mer. 21 déc. 2022 à 23:27, Thomas Passin <list1@tompassin.net> a écrit :

    On 12/21/2022 4:32 PM, Patrick EGLOFF wrote:
    HI,
    Some time ago I wrote a small software using pygame.midi
    It worked just fine with Win10/ python 3.9 / SDL 2.0.14 / pygame 2.0.1

    I had to change my computer and now I installed Win10 / Python 3.11.1 /
    SDL
    2.0.18 / pygame 2.1.2

    The following instructions don't work anymore, making the IDE stop execution :

    my_input = pygame.midi.Input(MidiDeviceIn)
    midi_out = pygame.midi.Output(MidiDeviceOut)

    Does someone have a suggestion?

    The pygame web site says this:

    "Pygame still does not run on Python 3.11"

    Also from the same page:

    "Make sure you install python with the "Add python to PATH" option
    selected. This means that python, and pip will work for you from the
    command line."

    See https://www.pygame.org/wiki/GettingStarted#Pygame%20Installation

    So what to do until pygame runs in Python 3.11? I'd install an earlier version of Python. You can have several versions on your machine at the
    same time. Remember, you have to install all the required packages with
    each version of Python - they don't use each other's code or libraries.
    --
    https://mail.python.org/mailman/listinfo/python-list



    --
    Patrick Egloff
    email : pegloff@gmail.com
    Web page : http://www.egloff.eu


    --
    Patrick Egloff
    email : pegloff@gmail.com
    Web page : http://www.egloff.eu

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)