Closed
Description
I'm using a Homebrew Python & Macvim, on OSX ML.
When trying to pip install --user git+git://github.com/Lokaltog/powerline
, I get a user scheme related error:
------------------------------------------------------------
/usr/local/bin/pip run on Wed Jun 19 03:11:30 2013
Downloading/unpacking git+git://github.com/Lokaltog/powerline
Cloning git://github.com/Lokaltog/powerline to /var/folders/k9/39bn572j64785jmvr63tqm180000gn/T/pip-CeX1GF-build
Found command 'git' at '/usr/local/bin/git'
Running command /usr/local/bin/git clone -q git://github.com/Lokaltog/powerline /var/folders/k9/39bn572j64785jmvr63tqm180000gn/T/pip-CeX1GF-build
Running setup.py egg_info for package from git+git://github.com/Lokaltog/powerline
running egg_info
creating pip-egg-info/Powerline.egg-info
writing requirements to pip-egg-info/Powerline.egg-info/requires.txt
writing pip-egg-info/Powerline.egg-info/PKG-INFO
writing top-level names to pip-egg-info/Powerline.egg-info/top_level.txt
writing dependency_links to pip-egg-info/Powerline.egg-info/dependency_links.txt
writing manifest file 'pip-egg-info/Powerline.egg-info/SOURCES.txt'
warning: manifest_maker: standard file '-c' not found
reading manifest file 'pip-egg-info/Powerline.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'pip-egg-info/Powerline.egg-info/SOURCES.txt'
Source in /var/folders/k9/39bn572j64785jmvr63tqm180000gn/T/pip-CeX1GF-build has version beta, which satisfies requirement Powerline==beta from git+git://github.com/Lokaltog/powerline
skipping extra docs
Installing collected packages: Powerline
Running setup.py install for Powerline
Running command /usr/local/opt/python/bin/python2.7 -c "import setuptools;__file__='/var/folders/k9/39bn572j64785jmvr63tqm180000gn/T/pip-CeX1GF-build/setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /var/folders/k9/39bn572j64785jmvr63tqm180000gn/T/pip-JsOX6p-record/install-record.txt --single-version-externally-managed --user
running install
error: can't combine user with prefix, exec_prefix/home, or install_(plat)base
Complete output from command /usr/local/opt/python/bin/python2.7 -c "import setuptools;__file__='/var/folders/k9/39bn572j64785jmvr63tqm180000gn/T/pip-CeX1GF-build/setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /var/folders/k9/39bn572j64785jmvr63tqm180000gn/T/pip-JsOX6p-record/install-record.txt --single-version-externally-managed --user:
running install
error: can't combine user with prefix, exec_prefix/home, or install_(plat)base
----------------------------------------
Command /usr/local/opt/python/bin/python2.7 -c "import setuptools;__file__='/var/folders/k9/39bn572j64785jmvr63tqm180000gn/T/pip-CeX1GF-build/setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /var/folders/k9/39bn572j64785jmvr63tqm180000gn/T/pip-JsOX6p-record/install-record.txt --single-version-externally-managed --user failed with error code 1 in /var/folders/k9/39bn572j64785jmvr63tqm180000gn/T/pip-CeX1GF-build
Exception information:
Traceback (most recent call last):
File "/usr/local/Cellar/python/2.7.5/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pip-1.3.1-py2.7.egg/pip/basecommand.py", line 139, in main
status = self.run(options, args)
File "/usr/local/Cellar/python/2.7.5/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pip-1.3.1-py2.7.egg/pip/commands/install.py", line 271, in run
requirement_set.install(install_options, global_options, root=options.root_path)
File "/usr/local/Cellar/python/2.7.5/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pip-1.3.1-py2.7.egg/pip/req.py", line 1185, in install
requirement.install(install_options, global_options, *args, **kwargs)
File "/usr/local/Cellar/python/2.7.5/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pip-1.3.1-py2.7.egg/pip/req.py", line 592, in install
cwd=self.source_dir, filter_stdout=self._filter_install, show_stdout=False)
File "/usr/local/Cellar/python/2.7.5/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pip-1.3.1-py2.7.egg/pip/util.py", line 662, in call_subprocess
% (command_desc, proc.returncode, cwd))
InstallationError: Command /usr/local/opt/python/bin/python2.7 -c "import setuptools;__file__='/var/folders/k9/39bn572j64785jmvr63tqm180000gn/T/pip-CeX1GF-build/setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /var/folders/k9/39bn572j64785jmvr63tqm180000gn/T/pip-JsOX6p-record/install-record.txt --single-version-externally-managed --user failed with error code 1 in /var/folders/k9/39bn572j64785jmvr63tqm180000gn/T/pip-CeX1GF-build
Any idea how to fix this?