Sat, 25 Jul 2020 12:19:15 -0600 Greg Woods greg@gregandeva.net:
I attempted to download and compile xboxdrv, but it does not work due to Python 2 vs. 3 incompatibilities, and it doesn't look like any work has been done on xboxdrv in quite some time. If I try to make it, I get this:
root@snowcrash xboxdrv-linux-0.8.8]# make scons scons: Reading SConscript files ... File "/local/src/xboxdrv-linux-0.8.8/SConstruct", line 34
print target ^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(target)?
make: *** [Makefile:24: xboxdrv] Error 2
Certainly looks like Python version incompatibility.
Print is super easy to fix: - print target + print(target)
I bet there is about 100 other thing to fix. As Ed suggested, 2to3 shoud handle prints and other obvious problems, but it do not handle missing dependencies, which are a problem with migrating to Python 3.