Setting up your own Shiny and RStudio server on a Raspberry Pi

Thank you for this great walkthrough. I am able to install shiny-server. When i try to install r-studio i get this error when i execute ./install-dependencies-debian --exclude-qt-sdk.

I use raspberry pi 3b+. I have read some replies saying that i need to add shebang line to a file. I tried to add to last file which is "subprocess.py" but it has shebang line already. Any help is appreciated.

File "/opt/rstudio-tools/depot_tools/gn.py", line 75, in <module>
    sys.exit(main(sys.argv))
  File "/opt/rstudio-tools/depot_tools/gn.py", line 70, in main
    return subprocess.call([gn_path] + args[1:])
  File "/usr/lib/python2.7/subprocess.py", line 168, in call
    return Popen(*popenargs, **kwargs).wait()
  File "/usr/lib/python2.7/subprocess.py", line 390, in __init__
    errread, errwrite)
  File "/usr/lib/python2.7/subprocess.py", line 1024, in _execute_child
    raise child_exception
OSError: [Errno 8] Exec format error
1 Like