Closed apinkney97 closed 1 year ago
Same issue here. Chiming in.
Also running into the same issue. I'm getting this error on Mac OS but the same actualy error with longintrepr.h not found.
It looks like #108 and #115 could be resolved by taking a look at #100. This would be greatly helpful for all python-rtmidi
dependant apps developed since last year, especially those depending on mido
(which in turn depends on python-rtmidi
). Can I be of some help for during this update process?
I tried to build some wheels based on https://github.com/Czaki/python-rtmidi, see https://github.com/liudonghua123/python-rtmidi/releases/tag/1.4.9 .
Now python-rtmidi
works on my python 3.11.
Note, to try the merge request of @Czaki, one can use pip install
:
pip install git+https://github.com/SpotlightKid/python-rtmidi.git@eb16ab3268b29b94cd2baa6bfc777f5cf5f908ba#egg=python-rtmidi
Note, to try the merge request of @Czaki, one can use
pip install
:pip install git+https://github.com/SpotlightKid/python-rtmidi.git@eb16ab3268b29b94cd2baa6bfc777f5cf5f908ba#egg=python-rtmidi
Thank you! I am too green to realise you could do that. Tried it this morning and seems to work great.
Note, to try the merge request of @Czaki, one can use
pip install
:pip install git+https://github.com/SpotlightKid/python-rtmidi.git@eb16ab3268b29b94cd2baa6bfc777f5cf5f908ba#egg=python-rtmidi
This doesnt seem to work for me
This does work for me - would be great to find a way of getting that in the mainline.
Bump again. We are vendoring our own python-rtmidi-wheels externally as part of the Sardine project and it would be nice to be able to get back to using python-rtmidi
without adding to the installation instructions.
@jenishngl:
I used poetry to successfully install this with the command
poetry add 'git+https://github.com/SpotlightKid/python-rtmidi.git#eb16ab3268b29b94cd2baa6bfc777f5cf5f908ba'
@Bubobubobubobubo
You should be able to reference that specific version in your pyproject.toml or your requirements.txt and not require that additional draggy step for your users!
Hi all, please take note of #137
Fixed by merging https://github.com/SpotlightKid/python-rtmidi/pull/119
Hi, installing via pip on Python 3.11.0 on linux, I get
This seems to be related to https://github.com/python/cpython/pull/28968, where
longintrepr.h
was moved tocpython/longintrepr.h
.src/_rtmidi.cpp
in the .tar.gz that Pip downloads seems to be generated with Cython, so presumably needs to be re-generated with a version of Cython that's aware of this change.For the record, I was able to successfully install from source (following the instructions from here) and otherwise everything seems to be working fine.