I just upgraded my system, in the process vim
was itself updated to version 8.1 (from 8.0). Now every time I start vim
the following error is displayed:
The ycmd server SHUT DOWN (restart with ':YcmRestartServer'). Unexpected error while loading the YCM core library. Type ':YcmToggleLogs ycmd_37049_stderr_x1nynwom.log' to check the logs.
The log file contains the following:
Traceback (most recent call last):
File "/home/duque004/.vim/bundle/YouCompleteMe/third_party/ycmd/ycmd/utils.py", line 498, in ImportAndCheckCore
ycm_core = ImportCore()
File "/home/duque004/.vim/bundle/YouCompleteMe/third_party/ycmd/ycmd/utils.py", line 489, in ImportCore
import ycm_core as ycm_core
ImportError: libpython3.6m.so.1.0: cannot open shared object file: No such file or directory
The Python version installed in this system is 3.8.2, no shared objects are available for version 3.6. How can vim
be instructed to use the correct one?
:PluginInstall
), but the error still appears.