> ./configure --enable-python3interp=dynamic --enable-gui=gtk2
> --with-python3-config-dir=/usr/lib/python3.2/
make
vim --version|grep pyth
+cryptv +linebreak -python +viminfo
-cscope +lispindent +python3/dyn +vreplace但如果我做了:python3 3打印(“嗨”),我得到:
E448: Could not load library function PySys_SetArgv
E263: Sorry, this command is disabled, the Python library could not be loaded.发布于 2013-06-03 05:03:35
我通过删除这行'--with-python3-config-dir=/usr/lib/python3.2/‘中的尾随'/’来修正这个问题。
类似于这样:--具有-python3-config-dir=/usr/lib/python3.2
https://unix.stackexchange.com/questions/77930
复制相似问题