Problem with credentials

Hi, I’m learning python and would like to use plotly for charting, but I’m having trouble getting up and running. I keep trying to save my username and API to the credentials file but when I run some sample code to test it, I get this error message:

Aw, snap! We don’t have an account for β€˜β€™. Want to try again? You can authenticate with your email address or username. Sign in is not case sensitive.

And when I go back to the credentials file all the fields are blank. What am I doing wrong?

Thanks.

Moved to https://community.plotly.com/c/api/python