• pygame.midi input/output not working

    From Patrick EGLOFF@21:1/5 to All on Wed Dec 21 22:32:28 2022
    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?

    Thanks,

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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Thomas Passin@21:1/5 to Patrick EGLOFF on Wed Dec 21 17:23:47 2022
    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.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Peter J. Holzer@21:1/5 to Thomas Passin on Thu Dec 22 11:04:22 2022
    On 2022-12-21 17:23:47 -0500, Thomas Passin wrote:
    The pygame web site says this:

    "Pygame still does not run on Python 3.11"

    This doesn't sound like "we haven't got around to preparing packages
    yet" and more like "there's a serious incompatibility we haven't solved
    yet".

    Does anybody know what the issue is?

    hp

    --
    _ | Peter J. Holzer | Story must make more sense than reality.
    |_|_) | |
    | | | hjp@hjp.at | -- Charles Stross, "Creative writing
    __/ | http://www.hjp.at/ | challenge!"

    -----BEGIN PGP SIGNATURE-----

    iQIzBAABCgAdFiEETtJbRjyPwVTYGJ5k8g5IURL+KF0FAmOkK5wACgkQ8g5IURL+ KF1fpg/9EZ9s47k1TVAcMTsqQH48Ry3sqMMU2jbq3St9+mRDSLpD82CCS5pjlNJT pQbGBrkqZ9YWtLynOMxvAHZP7LhxqEFSb4IOGtXFDk9UNT98ro19WvZH3jqTDU1b DTNufw+W9ih/HoqB1VSNRL2wbFOHeG8O4F0wycGFetflJPRAHZPyvHrzYTgv2p53 kHITmGAbIk6XAFD/upVawGjj97GJ7FoRah/teG4bc1XFJ90kAX3YOYJquERL0fi0 XpC/CKjlQS/HOMh4k21gsHL3eg5DGqEY/fzZ6vQtHva7faHBkK0N7UazkcjJaZlj 7E1O5u3pqyYJRSkZexy/7AnWOO6pyQJDAo7GX+F/o35X/IMQ2HxFVwPOs6Jo+dqm riyDfeT6kWcIco4X2qxHaqfjM/3pM2NrFELLfFwmGW5LgxaB1SmteIpLkxKjtOb2 gcoRnHhuafXOM8y+0U70St8Km8Co44WI7Y8s0uV5GBBymPF4Y266U/NM/rtT8oGZ Q6CPNcVL2sba5dHR9Wuvgl3/q+4TP8z2eSWyG7oB7zk7l8fBqlKpZ+jYPmNU6lX+ uvfdwYz51eT/GuCKHbjG8exABG0sBNgZMtg0dRFBKt2dr/uNDJcTGfTcTueDHqnn vb96FDhLv8sNX5LUB6VeDtpF0bMeqvyZnupzX1i
  • From Weatherby,Gerard@21:1/5 to Thomas Passin on Thu Dec 22 13:08:55 2022
    https://github.com/pygame/pygame/issues/3522

    From: Python-list <python-list-bounces+gweatherby=uchc.edu@python.org> on behalf of Peter J. Holzer <hjp-python@hjp.at>
    Date: Thursday, December 22, 2022 at 5:06 AM
    To: python-list@python.org <python-list@python.org>
    Subject: Re: pygame.midi input/output not working
    On 2022-12-21 17:23:47 -0500, Thomas Passin wrote:
    The pygame web site says this:

    "Pygame still does not run on Python 3.11"

    This doesn't sound like "we haven't got around to preparing packages
    yet" and more like "there's a serious incompatibility we haven't solved
    yet".

    Does anybody know what the issue is?

    hp

    --
    _ | Peter J. Holzer | Story must make more sense than reality.
    |_|_) | |
    | | | hjp@hjp.at | -- Charles Stross, "Creative writing
    __/ | http://www.hjp.at/ | challenge!"

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Thomas Passin@21:1/5 to Peter J. Holzer on Thu Dec 22 08:45:11 2022
    This issue thread on Github says that everyone is waiting on the
    packaging maintainer, but nothing from him for some time.

    On 12/22/2022 5:04 AM, Peter J. Holzer wrote:
    On 2022-12-21 17:23:47 -0500, Thomas Passin wrote:
    The pygame web site says this:

    "Pygame still does not run on Python 3.11"

    This doesn't sound like "we haven't got around to preparing packages
    yet" and more like "there's a serious incompatibility we haven't solved
    yet".

    Does anybody know what the issue is?

    hp



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