This is not error, but Depreciation warning. And as it says - python 2 is dead, it reached end of life January 1st 2020. Unless you have really, really good reason (and being a newbie I doubt you do) you should be working with python 3. Latest stable version is 3.9
If you can't explain it to a six year old, you don't understand it yourself, Albert Einstein
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs