求教 Emacs 用了和路径不同的 python 版本

我使用的是 spacemacs 0.200.13@emacs 25.3.1

我在环境配置的是 python 3.7.2,emacs exec_path上也只有这个版本,但不知为何,emacs在启动时会去找 python 3.6.5的版本

Error (use-package): python/:init: Invalid version syntax: ‘/usr/local/python/3.6.5/bin/python3.6: error while loading shared libraries: libpython3.6m.so.1.0: cannot open shared object file: No such file or directory’ (must start with a number)

执行 python-start-or-switch-repl 也会获得这个错误:

/usr/local/python/3.6.5/bin/python3.6: error while loading shared libraries: libpython3.6m.so.1.0: cannot open shared object file: No such file or directory

Process Python exited abnormally with code 127

求教我该从哪下手debug呢?

神坑,是ipython用了错误的版本