Using vim and when I try use omnicomplete for python I get an error
Required vim compiled with +python.
When I try
:python print 'hello'
I get
E370: Could not load library python26.dll
Strangely I'm using python 2.7 anyway so how can I change what python vim should use or will I have to install python 2.6 to use this feature?
You have to have the same version of python installed that vim was compiled against. That means you either need to install 2.6 or recompile vim against 2.7 (or find an existing binary that already is).
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.