i've been trying install python library making games, pygame, in yocto image of linux raspberry pi 2. have python code of game, i've run in raspbian , runs pretty slow, runs. in image of linux have python have failed in installing pygame library. every time tried run game says "error: import pygame", problem in way install library.
appreciate kind of help.
did check pythonpath set ? set it, do:
export pythonpath=/opt/ros/indigo/lib/python2.7/site-packages
you can add line .profile or .bashrc