Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在 Neovim 中使用 CoC 扩展。当我导入一些已安装的 python 模块时,pylint 显示错误,就好像它们没有安装一样,即使它们是。我知道这一点是因为该文件正确执行(并且我之前安装了它们)。做完后:CocCommand workspace.showOutput Pyright,我得到了正在使用的python版本的路径,当然不是我想要的那个。但我不知道如何改变它。
:CocCommand workspace.showOutput Pyright
两种方式:
which python
coc-settings.json
python.pythonPath
python