04-25-2020, 03:19 PM
Convert the whole procedure to Python 3?
moOde includes python (currently 2.7.26) and python3 (currently 3.7.3) and corresponding pip and pip3. No problem there---either state the version explicitly or fiddle with the system defaults (consult the InterWeb on "update-alternatives" command).
Obviously, a python3 flavor of luma is available.
I downloaded raspdacmini.7z and took a quick look at the .py modules. They look pretty close to Python 3 syntax. At most they might need a minor tweak to a couple lines (in Python 3 the "for...in..." loop construct works from a list but not an interator and I didn't look to see which the current code is using).
I don't have a RaspDAC Mini so am in no position to test.
Regards,
Kent
moOde includes python (currently 2.7.26) and python3 (currently 3.7.3) and corresponding pip and pip3. No problem there---either state the version explicitly or fiddle with the system defaults (consult the InterWeb on "update-alternatives" command).
Obviously, a python3 flavor of luma is available.
I downloaded raspdacmini.7z and took a quick look at the .py modules. They look pretty close to Python 3 syntax. At most they might need a minor tweak to a couple lines (in Python 3 the "for...in..." loop construct works from a list but not an interator and I didn't look to see which the current code is using).
I don't have a RaspDAC Mini so am in no position to test.
Regards,
Kent