pyjailhouse was installed on /usr/local/lib/python2.7/dist-packages, and that is the directory i have to add to the script in order for it to find pyjailhouse.
sexta-feira, 26 de Julho de 2019 às 16:13:42 UTC+1, Jan Kiszka escreveu: > > On 26.07.19 16:31, João Reis wrote: > > I run make install, and using the scripts from installation directory > > > > Check where pyjailhouse actually ended up - or if it was installed at all. > As > you can see from the Makefile, we just do > > pip install --upgrade --force-reinstall --root=<DESTDIR> . > > there. Provided, scripts/include.mk found out that it can set > PYTHON_PIP_USABLE > := yes. > > Jan > > > 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/942a4151-1921-4bd2-ad02-c9a98411ac36%40googlegroups.com.
