기본적으로 를 실행하려고 하면 vi
다음과 같은 오류가 발생합니다(한 번 열면 오류가 많이 발생합니다).
Error detected while processing function UltiSnips#bootstrap#Bootstrap:
line 35:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/Users/myname/.vim/bundle/ultisnips/pythonx/UltiSnips/__init__.py", line 8, in <module>
from UltiSnips.snippet_manager import SnippetManager
File "/Users/myname/.vim/bundle/ultisnips/pythonx/UltiSnips/snippet_manager.py", line 16, in <module>
from UltiSnips.snippet.definition import UltiSnipsSnippetDefinition
File "/Users/myname/.vim/bundle/ultisnips/pythonx/UltiSnips/snippet/definition/__init__.py", line 3, in <module>
from UltiSnips.snippet.definition.ultisnips import UltiSnipsSnippetDefinition
File "/Users/myname/.vim/bundle/ultisnips/pythonx/UltiSnips/snippet/definition/ultisnips.py", line 6, in <module>
from UltiSnips.snippet.definition._base import SnippetDefinition
File "/Users/myname/.vim/bundle/ultisnips/pythonx/UltiSnips/snippet/definition/_base.py", line 12, in <module>
from UltiSnips.text_objects import SnippetInstance
File "/Users/myname/.vim/bundle/ultisnips/pythonx/UltiSnips/text_objects/__init__.py", line 9, in <module>
from UltiSnips.text_objects._shell_code import ShellCode
File "/Users/myname/.vim/bundle/ultisnips/pythonx/UltiSnips/text_objects/_shell_code.py", line 10, in <module>
import tempfile
File "/usr/local/Cellar/python/2.7.10_2/Frameworks/Python.framework/Versions/2.7/lib/python2.7/tempfile.py", line 32, in <module>
import io as _io
File "/usr/local/Cellar/python/2.7.10_2/Frameworks/Python.framework/Versions/2.7/lib/python2.7/io.py", line 51, in <module>
import _io
ImportError: dlopen(/usr/local/Cellar/python/2.7.10_2/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_io.so, 2): Symbol not found: __PyErr_ReplaceException
Referenced from: /usr/local/Cellar/python/2.7.10_2/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_io.so
Expected in: flat namespace
in /usr/local/Cellar/python/2.7.10_2/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_io.so
기본적으로 vi
. 그러나 지침을 따른 후:
http://www.yolinux.com/TUTORIALS/LinuxTutorialAdvanced_vi.html http://www.vim.org/git.php
아직도 이 오류가 발생합니다. 어떻게 해야 합니까?
제 기억으로는 실수로 삭제한 적이 있는데 /usr/local/bin
..영향이 될지 모르겠네요...
답변1
문제는 설치에 있는 것이 아니라 플러그인이나 Python 설치에 있습니다.
/Users/myname/.vim/bundle, 어쩌면 전체 /Users/myname/.vim/을 삭제하고 다시 시도하세요.
그런데, 당신이 실제로 vi에 대해 말하는 것이 아니라 vim에 대해 이야기하고 있는 것 같습니다.