I run make install, and using the scripts from installation directory

quinta-feira, 25 de Julho de 2019 às 16:22:41 UTC+1, Jan Kiszka escreveu:
>
> 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/907a0d23-c664-432b-849f-8d536d14488f%40googlegroups.com.

Reply via email to