Hello Phani,

Am Wed, 4 Apr 2018 15:02:13 -0500
schrieb Phani Siriki <[email protected]>:

> I am able to import the module through normal execution. However it is
> not working in rpcd shell script. Could you please give me some
> inputs?

you could try to compare the search path under both conditions.

Probably the following would be sufficient?

 open("/tmp/pythonpath.out", "w").write("\n".join(sys.path))

(to be placed before the critical import statement)


Cheers,
Lars
_______________________________________________
openwrt-users mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-users

Reply via email to