-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Doesn't work with actual (2020) python #7
Comments
@Olfried2 you'll definitely need to use python2 not 3. Basically this is a duplicate of #5 (comment) |
@Olfried2, I have updated to use python3 only and PyGObject. The README has also been updated. It can be a bit tricky to install pyalsa, since it is not available from pypi, but I believe the popular distributions have a package for it. |
I went the Python3 route on the older Ubuntu 18.04; there's no To install
This appears to work, at least with the old Python 3.6.9. |
Hello,
I tried to get it work under Ubuntu Linux 20.04. But several python libs are not working.
Maybe it's me, but I cannot find/install some older libs .
Here some informations on my tries.
When starting "normal" (Python 2.7.18) the following error shows up:
./nano_basket_main.py
Traceback (most recent call last):
File "./nano_basket_main.py", line 24, in
from nano_basket_backend import *
File "/home/ernst/Music/NanoBasket/nano_basket_backend.py", line 24, in
from pyalsa import alsaseq
ImportError: No module named pyalsa
I couldn't find an old "pyalsa"
When I start using python3 nano_basket_main.py I get:
Traceback (most recent call last):
File "nano_basket_main.py", line 33, in
Midi_Device = Nano_Kontrol_Alsa_Midi_Comm()
File "/home/ernst/Music/NanoBasket/nano_basket_backend.py", line 267, in init
self.Event = alsaseq.SeqEvent(alsaseq.SEQ_EVENT_SYSEX)
OverflowError: Python int too large to convert to C long
Now I'm out, I found some informations describing how to fix such an error, but that's outside my abilities.
In the file nano_basket_gui.py i commented line 24 "pygtk.require('2.0')" to get rid of some messages asking for it
but I didn't get an old pygtk.
The text was updated successfully, but these errors were encountered: