我遵循了这里的说明,https://github.com/Valloric/YouCompleteMe并安装了这两种设备:
Cmake sudo apt-get install build-essential cmake
和Python sudo apt-get install python-dev python3-dev
然后我cd ~/.vim/bundle/YouCompleteMe和运行:./install.py --clang-completer,我得到:
Searching Python 2.7 libraries... ERROR: unable to find an appropriate Python library.
然后我尝试了python3 install.py --clang-completer,但仍然得到:
Searching Python 3.4 libraries... ERROR: unable to find an appropriate Python library.
有人知道发生了什么事吗?谢谢
发布于 2017-03-12 03:07:38
在为python3.4安装python软件包之后,可以在libpython3.4.dll.a.上使用cygwin上的YouCompleteMe (*.a)版本。
所以我修改了:
~/.vim/bundle/YouCompleteMe/third_party/ycmd/build.py通过以下方式:
def FindPythonLibrariesOnLinux():
return ["/usr/lib/libpython3.4.dll.a","/usr/include/python3.4"]我正在使用:(Cygwin_NT-10.02.7.0(0.306/5/3) 2017-02-12 13:18 x86_64 Cygwin)
https://stackoverflow.com/questions/37277976
复制相似问题