I just remotely debug K-Cepter hardware newly build by @YJBeetle . (SSH to his raspberry pi 3B+)
When buliding notochord, I found scons on his raspberry pi is using Python3 on debian stable system. src/SConscript
lib/SConscript
SConstruct
scons_utils.py
need to use 2to3 -f all -f idioms -w
to transform python2 to python3.
2to3 -f all -f idioms -w src/SConscript
2to3 -f all -f idioms -w lib/SConscript
2to3 -f all -f idioms -w SConstruct
2to3 -f all -f idioms -w scons_utils.py
and then, modify scons_utils.py
these lines.
From if v > self.min_version:
to if str(v) > self.min_version:
From version_num = search('\d\.\d\.\d', version)
to version_num = search('\d\.\d\.\d'.encode(), version)
This will make scons script run on python3.