VIM-LaTeX - 尝试使用 vim 打开扩展名为 tex 的文件时出错

VIM-LaTeX - 尝试使用 vim 打开扩展名为 tex 的文件时出错

tex当我使用以下扩展名打开任何文件时,vim出现以下错误:

"test.tex" 1L, 9C
Error detected while processing /Users/user_name/.vim/ftplugin/latex-suite/texviewer.vim:
line  895:
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/Users/user_name/.vim/ftplugin/latex-suite/bibtools.py", line 11, in <module>
    from urllib import urlopen, pathname2url
  File "/usr/local/Cellar/python@2/2.7.17_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ur
llib.py", line 26, in <module>
    import socket
  File "/usr/local/Cellar/python@2/2.7.17_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/so
cket.py", line 47, in <module>
    import _socket
ImportError: dlopen(/usr/local/Cellar/python@2/2.7.17_1/Frameworks/Python.framework/Versions/2.7/lib/
python2.7/lib-dynload/_socket.so, 0x0002): code signature in (/usr/local/Cellar/python@2/2.7.17_1/Fra
meworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_socket.so) not valid for use in proc
ess: mapped file has no cdhash, completely unsigned? Code has to be at least ad-hoc signed.

我使用iTerm并且zsh刚刚配置了 LaTeX,以便可以按照vim以下说明通过编辑器使用它:

http://vim-latex.sourceforge.net/index.php?subject=download&title=Download

我已经安装了:

Python 2.7.17

这里有没有人遇到过类似的问题LaTeX
如果有人能帮助我,我将不胜感激。

相关内容