conda install packagename gives deprecation warning

Solution 1:

Update: conda 4.6.12 has been released, which removes the warning.

This is a bug in conda 4.6.11 as of April, 2019. It should be fixed in an upcoming version of conda. Quoting msarahan from the issue on GitHub:

Yep, it's a bug. We'll have a fix out early this week. Please ignore it for now. Fix is in #8507 if you'd like to hack it in to your installation yourself.

Solution 2:

Nothing to worry about. It's just saying that the compat module will be removed in future since it is not relevant anymore.