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
?
如果有人能帮助我,我将不胜感激。