mixer.music.play() works in mu-editor but not in terminal

This is my code:    

 from gtts import gTTS
from pygame import mixer  # Load the popular external library
import time
tts = gTTS('test')
tts.save('hello.mp3')
time.sleep(3) 

mixer.init()
mixer.music.load('/home/pi/Desktop/game/hello.mp3')
mixer.music.play()

if i run the file at mu-editor it works, but if i run it in the terminal with:

sudo python app.py

everything works but not the

mixer.music.play

i dont get any error-messages

Answer

Update: Solution

i fixed my Problem by activating SHH for my Raspberry pi.

No it works in Terminal too