I have Python 2.7 and Python 3.3 in my Debian. I rebuilt both using the arg
--enable-shared
.After than I built VIM 7.4 using the args "
--enable-pythoninterp --enable-python3interp --with-features=huge --with-python-config-dir=PathToConfig --with-python3-config-dir=PathToConfig
"when i give the comment vim --version, I could see the flags '
+python/dyn and +python3/dyn
'
However when I type the command ':python import sys', I get the error message:
E448: Could not load library function _PyArg_Parse_SizeT
E263: Sorry, this command is disabled, the Python library could not be loaded.
When I type the command ':python3 import sys', I get the error message:
E448: Could not load library function PySys_SetArgv
E263: Sorry, this command is disabled, the Python library could not be loaded.
all the vim plugins that needs python is not working due to this.
Please let me know how to fix this.