at the end it worked for me it just picked up my old vim .
so if you uninstall fist of reset VIM_APP_DIR ( or so) it works


On Jun 2, 2011, at 12:35 PM, björn wrote:

> On 2 June 2011 16:30, William Quirk  wrote:
>> Same problem but my main python is 3.2
>> Any constructive idea is welcome.
>> Thanks in advance
>> Bill Quirk
>> ________________________________
>> From: LocoJay Dev <[email protected]>
>> To: [email protected]
>> Sent: Wednesday, June 1, 2011 6:34 PM
>> Subject: vim python2.7 brew build
>> 
>> 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
> 
> Guys, what's with the weird fonts and bad posting manners?  Please
> turn off the rich text and bottom post on this list.  Thanks! :-)
> 
> Having said that, you should probably ask on vim_use if you need help
> with building with a specific version of Python.  I have no experience
> of this so can not be of much help (I do recall seeing this type of
> discussions several times before, did you try searching old posts?).
> 
> Two tips: dynamic Python is not supported on Mac OS X (as far as I
> know), and Python 3 needs a separate flag from Python 2.x
> (--enable-python3interp, as opposed to --enable-pythoninterp).  Type
> 
> ./configure --help
> 
> to see all flags to configure (there are quite a few related to Python).
> 
> Björn
> 
> -- 
> 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