>我的Debian中有
Python 2.7和
Python 3.3.我使用arg –enable-shared重建了两个.
>后比我建VIM 7.4使用ARGS“–enable-pythoninterp –enable-python3interp –with-功能=巨大–with-python的-配置-DIR = PathToConfig –with-python3-配置-DIR = PathToConfig “
>当我发表评论vim –version时,我可以看到标志’python / dyn和python3 / dyn’
>后比我建VIM 7.4使用ARGS“–enable-pythoninterp –enable-python3interp –with-功能=巨大–with-python的-配置-DIR = PathToConfig –with-python3-配置-DIR = PathToConfig “
>当我发表评论vim –version时,我可以看到标志’python / dyn和python3 / dyn’
但是,当我输入命令’:python import sys’时,我收到错误消息:
E448: Could not load library function _PyArg_Parse_SizeT E263: Sorry,this command is disabled,the Python library Could not be loaded.
当我输入命令’:python3 import sys’时,我收到错误消息:
E448: Could not load library function PySys_SetArgv E263: Sorry,the Python library Could not be loaded.
由于这个原因,所有需要python的vim插件都无法正常工作.
请让我知道如何解决这个问题.
解决方法
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 [email protected] 举报,一经查实,本站将立刻删除。