Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.
> ./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

but if i do: :python3 print('hi') I get:

E448: Could not load library function PySys_SetArgv
E263: Sorry, this command is disabled, the Python library could not be loaded.
share|improve this question

migrated from serverfault.com Jun 2 '13 at 6:28

This question came from our site for professional system and network administrators.

1 Answer 1

I fixed this by removing the trailing '/' in this line '--with-python3-config-dir=/usr/lib/python3.2/'

like so: --with-python3-config-dir=/usr/lib/python3.2

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.