Python error when logging in

Aleks,

I noticed all the login errors have to do with Python 2.7. I did upgrade the box to Python 3.6; could this be the problem? I still cannot upgrade. When I click the green button or try apt upgrade from the command line no upgrade occurs. Any idea what I can do? Thanks. Hope you are having a great day.