Re: [OpenWrt-Users] How to execute python script in rpc shell script

2018-02-17 Thread Phani Siriki
Hi Lars Sorry for the late reply. Thank you for the awesome suggestion. I redirected stderr to file and observed below error. shell script: ... /usr/bin/python /root/hello.py > /root/file-name 2>&1 ... root@OpenWrt:~# cat file-name /usr/bin/python: can't load library

Re: [OpenWrt-Users] How to execute python script in rpc shell script

2018-02-17 Thread yvsg . phanis
Sure Lars. I will check it. Best regards Phani Sent from my iPhone > On Feb 17, 2018, at 12:55 PM, Lars Kruse wrote: > > Hello Phani, > > > Am Sat, 17 Feb 2018 12:22:02 -0600 > schrieb Phani Siriki : > >> root@OpenWrt:~# cat file-name >>

Re: [OpenWrt-Users] How to execute python script in rpc shell script

2018-02-17 Thread Lars Kruse
Hello Phani, Am Sat, 17 Feb 2018 12:22:02 -0600 schrieb Phani Siriki : > root@OpenWrt:~# cat file-name > /usr/bin/python: can't load library 'libpython2.7.so.1.0' so this discussion revolved around the same topic as your other thread ("Pip command found error even though