%poky; ] > Preparing to Use Toaster This chapter describes how you need to prepare your system in order to use Toaster. Toaster requires some packages that you must have installed before trying to run Toaster.
Setting Up the Basic System Requirements You first need to be sure your build system is set up to run the Yocto Project. See the "What You Need and How You Get It" section in the Yocto Project Quick Start for information on how to set up your system for the Yocto Project.
Establishing Toaster System Dependencies Toaster requires extra Python dependencies that Bitbake does not need in order to run. In order to make it easy to run Toaster, a requirements file located in the root directory of Source Directory bitbake/ (e.g. poky/bitbake/toaster-requirements.txt). The dependencies appear in a pip, install-compatible format: Django==1.6 South==0.8.4 argparse==1.2.1 wsgiref==0.1.2 Follow these steps to get set up: Install virtualenv: virtualenv is a tool to create isolated Python environments by creating folders that contain all the necessary executables to use the packages that Python projects need. You can use pip to install virtualenv: $ pip install virtualenv Create and activate a virtual environment: $ virtualenv venv $ source venv/bin/activate Use pip to install needed packages: $ pip install -r bitbake/toaster-requirements.txt Once you complete these steps, you execute in a lightweight "virtual environment” with its own site directories that are optionally isolated from system site directories. The virtual environment has its own Python binary (allowing creation of environments with various Python versions) and can have its own independent set of installed Python packages in its site directories.