This is my first time posting a question here as most of my questions have already been answered by someone else! I am working on a GUI application in python and am attempt
Adding the line:
import pkg_resources.py2_warn
to my code helped.