Hi,

During the weekly toaster call, the question came up as to why we no longer
recommend using python virtual environments to run toaster.  We now
recommend that you install the toaster requirements (such as Django) into
your local user pip3/python3 environment.  This is typically stored in
$HOME/.local.

If you set up a python3 virtual environment the default python becomes
python3.  The standard recommendation for a mixed python2/3 environment is
for python to be linked to python2.x and python3 to be linked to python3.x.

Both open-embedded and Toaster rely on this environment, so the best option
we currently have is to either use the local pip3 store for the required
modules by doing:

pip3 install --user -r bitbake/toaster-requirements.txt

or to use the toster container that encapsulates the requirements from the host:

https://hub.docker.com/r/crops/toaster-morty/


Hope this helps clarify,

-Brian

an intel employee
-- 
_______________________________________________
toaster mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/toaster

Reply via email to