Macos mac os vi禁用,并提醒我”;UltiSnips需要py>;=2.6或任何py3“;
我将Python版本更新为3.4,然后删除python2.7 floders,/usr/bin/(pydoc/Python/pythonw/Python-config),下面是错误Macos mac os vi禁用,并提醒我”;UltiSnips需要py>;=2.6或任何py3“;,macos,vi,Macos,Vi,我将Python版本更新为3.4,然后删除python2.7 floders,/usr/bin/(pydoc/Python/pythonw/Python-config),下面是错误 UltiSnips requires py >= 2.6 or any py3 Error detected while processing function UltiSnips#bootstrap#Bootstrap: line 14: E168: :finish used outside of a s
UltiSnips requires py >= 2.6 or any py3
Error detected while processing function UltiSnips#bootstrap#Bootstrap:
line 14:
E168: :finish used outside of a sourced file
line 28:
E448: Could not load library function PyInt_AsLong
E263: Sorry, this command is disabled, the Python library could not be loaded.
line 29:
E448: Could not load library function PyInt_AsLong
E263: Sorry, this command is disabled, the Python library could not be loaded.
line 30:
E448: Could not load library function PyInt_AsLong
E263: Sorry, this command is disabled, the Python library could not be loaded.
line 32:
E448: Could not load library function PyInt_AsLong
E263: Sorry, this command is disabled, the Python library could not be loaded.
line 33:
E448: Could not load library function PyInt_AsLong
E263: Sorry, this command is disabled, the Python library could not be loaded.
line 34:
E448: Could not load library function PyInt_AsLong
E263: Sorry, this command is disabled, the Python library could not be loaded.
line 35:
E448: Could not load library function PyInt_AsLong
E263: Sorry, this command is disabled, the Python library could not be loaded.
Press ENTER or type command to continue
执行
vim--version
,查看它是+python
还是+python3
。我打赌你在-python
,-python3
都有它们。这意味着您的Vim不是用Python编译的(或者,很可能,您已经删除了Vim所链接的库)。重新编译Vim(或者安装实际上是针对您拥有的Python 3.4库编译的Vim)。您使用的是Vim还是neovim?