On 25.07.19 15:11, João Reis wrote: > Another question that i have is: when i try to issue jailhouse cell linux, i > need to add to the script (jailhouse-cell-linux) the path of pyjailhouse > (sys.path.insert(0, "/usr/local/libexec/jailhouse")) otherwise it doesn't find > the module pyjailhouse.cell and it gives error. > > In pyjailhouse.md it says the following: > > When we install any python script that uses pyjailhouse, we > remove |sys.path[0] = os.path.dirname(...| from the installed scripts, > leaving python to import pyjailhouse from where pip installed it. > > but it seems python doesn't find the path and i need to add the path > everytime i > want to use jailhouse cell linux. >
Did you run "make install", or are you running jailhouse from the code repository? Both are supposed to work without patching. Anything else not. Jan -- Siemens AG, Corporate Technology, CT RDA IOT SES-DE Corporate Competence Center Embedded Linux -- You received this message because you are subscribed to the Google Groups "Jailhouse" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jailhouse-dev/62f33b9f-a7f6-34cb-3740-2fca02468b0f%40siemens.com.
