On Monday, April 16, 2012 7:55:40 PM UTC+7, Senthil Kumaran wrote:
> 1. I compiled python 2.7.3 from source.
> 2. Compiled vim against this custom python interpter
> 
> Now there are certain plugins which embed Python like this:
> 
> python <<EOF
> # -*- coding: utf-8 -*-
> import urllib , urllib2 , vim , xml.dom.minidom , xmlrpclib , sys , string , 
> re
> 
> When loading those plugins - this error is thrown.

Hi,

Just add this line in your .vimrc before using any python commands

let $PYTHONHOME='<your python install dir>'

-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Raspunde prin e-mail lui