--enable-pythoninterp=dynamic might help you out

On Jun 1, 2011, at 4:34 PM, LocoJay Dev wrote:

> hi,
> 
> i would like to have python2.7 once running
> 
> 
> :python import sys;  print sys.path
> 
> at the moment it shows
> 
> /Library/Python2.6/site-packages
> 
> but may main python is brew 2.7
> 
> which python /usr/local/bin/python --> ../Cellar/python/2.7.1/bin/python  ( + 
> all the other pip ipython, ....)
> 
> i m a bit confused.
> why does vim not use brews python?
> 
> i tried the following from git source
> 
> ./configure --with-features=huge --enable-rubyinterp --enable-pythoninterp 
> --enable-perlinterp 
> --with-python-config-dir=/usr/local/Cellar/python/2.7.1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/config
> 
> but still 
> 
> :python import sys;  print sys.path
> 
> outputs 2.6
> 
> any idea?
> 
> is there maybe a way to set the "main" python in vimrc ( would prefer to use 
> brew macvim instead of master)
> 
> many thanks
> 
> -- 
> You received this message from the "vim_mac" 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
> 


-- 
You received this message from the "vim_mac" 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

Reply via email to