Google OTP Authenticator

Hey Im trying to make it where my code from google get save to a text file. But I cant even get the code to generate. I followed the step in the guide