Please check the link and try again:
https://vdocuments.mx/como-instalar-python-apache-y-mysql-en-ubuntu-1404.html