This is a "known" issue that affects some people when switching python versions. It seems to be a problem with Jedi. We're not sure why this happens, but we don't think there's anything that we can do about it. It's something to do with `.pyc` files.
The solution is to delete the python cached files in Jedi.
* `cd /path/to/YCM/third_party/ycmd`
* `find . -type f -name '*.pyc' -delete`
Then just restart vim.
_Originally posted by @puremourning in https://github.com/ycm-core/YouCompleteMe/issues/3765#issuecomment-695970983_
This did not work for me, i'm still seeing the same issue.
This Issue was brought up in the past: https://github.com/ycm-core/YouCompleteMe/issues/3765
The solution was:
This did not work for me, i'm still seeing the same issue.