I have the same issue that need to start py on boot.
BUT I use work around solution to start our python code.
1. prepare a WIN pc (can run putty to connect to your niryo) try lattepanda is a good board.
2. use xx.bat (putty firstname.lastname@example.org:22 -pw robotics )
3. download tiny task and record your activities into xx.exe (click xx.bat and keyin python urcode.py)
4. put xx.exe into WIN startup (execute xx.exe on boot after 5mins-make sure niryo is running)
2.win 10 pc(like lattepanda) inc xx.exe on boot
all done well.
YES, I knew your pain.
Niryo is fine for “1 hr” education training only.