[vim ] python/dyn 動態載入 python interpreter 問題?

看板Editor作者 (K7)時間8年前 (2015/08/20 12:18), 8年前編輯推噓0(004)
留言4則, 2人參與, 最新討論串1/1
因為想使用 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

08/20 18:42, , 1F
os是什麼? python版本過舊的話是不支援同時dyn(2+3)
08/20 18:42, 1F
Debian / Jessie ※ 編輯: BCRK7 (61.224.81.101), 08/21/2015 12:27:20

08/21 18:55, , 2F
vim自己編譯的嗎 還是jessie內建的? 內建的我記得只有py2
08/21 18:55, 2F

08/21 18:59, , 3F
自編的話記得要distclean後才configure 不然py有時抓不到
08/21 18:59, 3F

09/25 22:57, , 4F
你的python2路徑有正確嗎?
09/25 22:57, 4F
文章代碼(AID): #1LrLKG9l (Editor)