作者BCRK7 (K7)
看板Editor
標題[vim ] python/dyn 動態載入 python interpreter 問題?
時間Thu Aug 20 12:18:22 2015
因為想使用 Clang_complete 這個 Plugin 來寫 C++,
不過安裝完後,貌似發生了一些 python support 的問題。
Error detected while processing function <SNR>14_ClangCompleteInit..<SNR>14_initClangCompletePython:
clang_complete: No python support available.
Cannot use clang library
Compile vim with python support to use libclang
我 vim 的 python 配置是: +python/dyn +python3/dyn
所以應該是兩個都可以用吧!
:echo has('python') 結果為 0
:echo has('python3') 結果為 1
請問是動態載入 python interpreter 的版本有問題嗎?
是否可以修正?
( 例如變更 python interpreter 的版本,或設定 default loal python interpreter 的版本 ...)
--
※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 61.224.81.101
※ 文章網址: https://www.ptt.cc/bbs/Editor/M.1440044304.A.26F.html
→ Bellkna: os是什麼? python版本過舊的話是不支援同時dyn(2+3) 08/20 18:42
Debian / Jessie
※ 編輯: BCRK7 (61.224.81.101), 08/21/2015 12:27:20
→ Bellkna: vim自己編譯的嗎 還是jessie內建的? 內建的我記得只有py2 08/21 18:55
→ Bellkna: 自編的話記得要distclean後才configure 不然py有時抓不到 08/21 18:59
→ lanyitin: 你的python2路徑有正確嗎? 09/25 22:57