Installing pygame issue

New install and I am trying to install pygame via pip. It fails with this message;

Collecting pygame
  Downloading pygame-1.9.3.tar.gz (3.0MB)
    100% |████████████████████████████████| 3.0MB 26kB/s
    Complete output from command python setup.py egg_info:

    WARNING, No "Setup" File Exists, Running "config.py"
    Using UNIX configuration...

    sh: 1: sdl-config: not found
    sh: 1: sdl-config: not found
    sh: 1: sdl-config: not found
    sh: 1: freetype-config: not found
    sh: 1: freetype-config: not found
    sh: 1: freetype-config: not found

    Hunting dependencies...
    WARNING: "sdl-config" failed!
    WARNING: "freetype-config" failed!
    Unable to run "sdl-config". Please make sure a development version of SDL is                                         installed.

    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-T6                                        utwj/pygame/

I suspect that it may be because I do not have any X Server installed. If I am right, do I need the whole of LXDE or is there an alternative method?

Cheers

Hi,

Hunting dependencies…
WARNING: “sdl-config” failed!
WARNING: “freetype-config” failed!

Appears these are required for pygame and need to be installed.

apt-get install 	libfreetype6-dev libsdl1.2-dev