When importing certain modules from matlibplot such as matplotlib.animation, you may get the following warning message:
UserWarning: Module dap was already imported from None, but /usr/lib/python2.7/dist-packages is being added to sys.path __import__(‘pkg_resources’).declare_namespace(__name__)
Method to remove the warning:
Add dap as the first line in file /usr/lib/python2.7/dist-packages/dap-126.96.36.199.egg-info/namespace_packages.txt
But it’s not an official solution, no guarantee can be made that this change does not break other things.