You have not really give us any information to go on.
but from the error message I would say you have not installed the yocto_api module.
if you want more detailed help you need to provide details for the project web page you are following and what mode of pi you are using along with which OS you have installed as a starting point.
Remember we want information.......................no information no help
The use of crystal balls & mind reading is not supported