Skip to content

Instantly share code, notes, and snippets.

@netheril96
Last active August 29, 2015 14:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save netheril96/c8f3a26195caf3ca550b to your computer and use it in GitHub Desktop.
Save netheril96/c8f3a26195caf3ca550b to your computer and use it in GitHub Desktop.
install macvim --with-python3 trouble
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<!-- This file was created with the aha Ansi HTML Adapter. http://ziz.delphigl.com/tool_aha.php -->
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="application/xml+xhtml; charset=UTF-8" />
<title>stdin</title>
</head>
<body>
<pre>
Script started on Tue Oct 14 11:51:57 2014
sh-3.2$ echo $PYTHONPATH
sh-3.2$ env
GREP_COLOR=1;32
TERM_PROGRAM=Apple_Terminal
SHELL=/bin/sh
TERM=xterm-256color
TMPDIR=/var/folders/gr/sgm1wqhd5p323mk3n_s8qqqc0000gn/T/
Apple_PubSub_Socket_Render=/tmp/launch-94kREH/Render
TERM_PROGRAM_VERSION=326
TERM_SESSION_ID=04F1B99B-BDD5-4088-9757-017AD77372F6
ZSH=/Users/rsy/.oh-my-zsh
USER=rsy
SSH_AUTH_SOCK=/tmp/launch-XOSXnQ/Listeners
__CF_USER_TEXT_ENCODING=0x1F5:0:0
PAGER=less
LSCOLORS=Gxfxcxdxbxegedabagacad
PATH=/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/usr/local/MacGPG2/bin:/usr/texbin
__CHECKFIX1436934=1
PWD=/tmp
EDITOR=vim
LANG=en_US.UTF-8
AUTOJUMP_DATA_DIR=/Users/rsy/.local/share/autojump
SHLVL=2
HOME=/Users/rsy
GREP_OPTIONS=--color=auto --exclude-dir=.cvs --exclude-dir=.git --exclude-dir=.hg --exclude-dir=.svn
LESS=-R
LOGNAME=rsy
VISUAL=vim
LC_CTYPE=
DISPLAY=/tmp/launch-loT5Qd/org.macosforge.xquartz:0
SECURITYSESSIONID=186a4
_=/usr/bin/env
sh-3.2$ brew install macvim --with-python3
Failed to import the site module
Your PYTHONPATH points to a site-packages dir for Python 2.x but you are running Python 3.x!
PYTHONPATH is currently: &quot;/usr/local/lib/python2.7/site-packages&quot;
You should `unset PYTHONPATH` to fix this.
Failed to import the site module
Your PYTHONPATH points to a site-packages dir for Python 2.x but you are running Python 3.x!
PYTHONPATH is currently: &quot;/usr/local/lib/python2.7/site-packages&quot;
You should `unset PYTHONPATH` to fix this.
Failed to import the site module
Your PYTHONPATH points to a site-packages dir for Python 2.x but you are running Python 3.x!
PYTHONPATH is currently: &quot;/usr/local/lib/python2.7/site-packages&quot;
You should `unset PYTHONPATH` to fix this.
<span style="color:blue;font-weight:bold;">==&gt;</span><span style="color:black;font-weight:bold;"> Downloading https://github.com/b4winckler/macvim/archive/snapshot-73.tar.gz</span>
Already downloaded: /Library/Caches/Homebrew/macvim-7.4-73.tar.gz
<span style="color:blue;font-weight:bold;">==&gt;</span><span style="color:black;font-weight:bold;"> ./configure --with-features=huge --enable-multibyte --with-macarchs=x86_64 --enable-perlinterp --enable-rubyinterp --enable-tclinterp --with-tlib=ncurses --with-compiledby=Homebrew --with-local-dir=</span>
^C
sh-3.2$ brew install --interactive macvim --with-python3
Failed to import the site module
Your PYTHONPATH points to a site-packages dir for Python 2.x but you are running Python 3.x!
PYTHONPATH is currently: &quot;/usr/local/lib/python2.7/site-packages&quot;
You should `unset PYTHONPATH` to fix this.
Failed to import the site module
Your PYTHONPATH points to a site-packages dir for Python 2.x but you are running Python 3.x!
PYTHONPATH is currently: &quot;/usr/local/lib/python2.7/site-packages&quot;
You should `unset PYTHONPATH` to fix this.
Failed to import the site module
Your PYTHONPATH points to a site-packages dir for Python 2.x but you are running Python 3.x!
PYTHONPATH is currently: &quot;/usr/local/lib/python2.7/site-packages&quot;
You should `unset PYTHONPATH` to fix this.
<span style="color:blue;font-weight:bold;">==&gt;</span><span style="color:black;font-weight:bold;"> Downloading https://github.com/b4winckler/macvim/archive/snapshot-73.tar.gz</span>
Already downloaded: /Library/Caches/Homebrew/macvim-7.4-73.tar.gz
<span style="color:blue;font-weight:bold;">==&gt;</span><span style="color:black;font-weight:bold;"> Entering interactive mode</span>
Type `exit' to return and finalize the installation
Install to this prefix: /usr/local/Cellar/macvim/7.4-73_1
sh-3.2$ echo $PYTHONPATH
/usr/local/lib/python2.7/site-packages
sh-3.2$ env
GREP_COLOR=1;32
TERM_PROGRAM=Apple_Terminal
HOMEBREW_TEMP=/tmp
OBJCXX=clang++
OBJC=clang
SHELL=/bin/sh
TERM=xterm-256color
MAKEFLAGS=-j8
HOMEBREW_CCCFG=sa
TMPDIR=/var/folders/gr/sgm1wqhd5p323mk3n_s8qqqc0000gn/T/
HOMEBREW_ERROR_PIPE=10
Apple_PubSub_Socket_Render=/tmp/launch-94kREH/Render
TERM_PROGRAM_VERSION=326
CMAKE_LIBRARY_PATH=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/System/Library/Frameworks/OpenGL.framework/Versions/Current/Libraries
TERM_SESSION_ID=04F1B99B-BDD5-4088-9757-017AD77372F6
HOMEBREW_CXX=clang++
ZSH=/Users/rsy/.oh-my-zsh
USER=rsy
HOMEBREW_OPTFLAGS=-march=native
CMAKE_FRAMEWORK_PATH=/usr/local/opt/python3/Frameworks:/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/System/Library/Frameworks
SSH_AUTH_SOCK=/tmp/launch-XOSXnQ/Listeners
__CF_USER_TEXT_ENCODING=0x1F5:0:0
PAGER=less
LSCOLORS=Gxfxcxdxbxegedabagacad
PATH=.:/usr/local/Library/ENV/4.3:/usr/local/opt/cscope/bin:/usr/local/opt/python3/bin:/usr/bin:/bin:/usr/sbin:/sbin
__CHECKFIX1436934=1
HOMEBREW_ISYSTEM_PATHS=/usr/local/include:/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/include/libxml2:/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/include/apache2:/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers
HOMEBREW_DEBUG_PREFIX=/usr/local/Cellar/macvim/7.4-73_1
HOMEBREW_SDKROOT=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk
PWD=/private/tmp/macvim-SeqItv/macvim-snapshot-73
HOMEBREW_BREW_FILE=/usr/local/bin/brew
HOMEBREW_GITHUB_API_TOKEN=96318e0e8b89667d5a511163eea420d0fabc0089
EDITOR=vim
PKG_CONFIG_LIBDIR=/usr/lib/pkgconfig:/usr/local/Library/ENV/pkgconfig/10.9
LANG=en_US.UTF-8
HOMEBREW_DEBUG_INSTALL=macvim
HOMEBREW_ARCHFLAGS=
AUTOJUMP_DATA_DIR=/Users/rsy/.local/share/autojump
CXX=clang++
SHLVL=3
HOME=/Users/rsy
HOMEBREW_PREFIX=/usr/local
CMAKE_INCLUDE_PATH=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/include/libxml2:/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/include/apache2:/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers
PYTHONPATH=/usr/local/lib/python2.7/site-packages
LESS=-R
LOGNAME=rsy
HOMEBREW_LIBRARY_PATHS=/usr/local/lib:/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/System/Library/Frameworks/OpenGL.framework/Versions/Current/Libraries
VISUAL=vim
HOMEBREW_PREFER_CLT_PROXIES=1
LC_CTYPE=
HOMEBREW_CC=clang
HOMEBREW_OPTIMIZATION_LEVEL=Os
ACLOCAL_PATH=/usr/local/share/aclocal
CMAKE_PREFIX_PATH=/usr/local
CC=clang
DISPLAY=/tmp/launch-loT5Qd/org.macosforge.xquartz:0
SECURITYSESSIONID=186a4
_=/usr/bin/env
sh-3.2$ exit
exit
<span style="color:red;text-decoration:underline;">Error</span>: Empty installation
sh-3.2$ echo $PYTHONPATH
sh-3.2$ exit
exit
Script done on Tue Oct 14 11:52:59 2014
</pre>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment