Hmm. That's a new one. I can't say I immediately understand it, and my Mac is at home today. I'll try to see if I can reproduce it tonight. Are you on Yosemite?

On Fri, 23 Oct 2015 at 15:20 Anna Kalogirou <A.Kalogirou@leeds.ac.uk> wrote:
That didn’t help but it seems that I homebrew was outdated, so I updated it and fixed all the warnings it caused. The firedrake installation then went a bit further, but still got the following error:

Installing virtualenv.
Downloading/unpacking virtualenv
  Downloading virtualenv-13.1.2-py2.py3-none-any.whl (1.7MB): 1.7MB downloaded
Installing collected packages: virtualenv
Cleaning up...
Exception:
Traceback (most recent call last):
  File "/usr/local/Cellar/python/2.7.8_2/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pip-1.5.6-py2.7.egg/pip/basecommand.py", line 122, in main
    status = self.run(options, args)
  File "/usr/local/Cellar/python/2.7.8_2/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pip-1.5.6-py2.7.egg/pip/commands/install.py", line 283, in run
    requirement_set.install(install_options, global_options, root=options.root_path)
  File "/usr/local/Cellar/python/2.7.8_2/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pip-1.5.6-py2.7.egg/pip/req.py", line 1435, in install
    requirement.install(install_options, global_options, *args, **kwargs)
  File "/usr/local/Cellar/python/2.7.8_2/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pip-1.5.6-py2.7.egg/pip/req.py", line 671, in install
    self.move_wheel_files(self.source_dir, root=root)
  File "/usr/local/Cellar/python/2.7.8_2/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pip-1.5.6-py2.7.egg/pip/req.py", line 901, in move_wheel_files
    pycompile=self.pycompile,
  File "/usr/local/Cellar/python/2.7.8_2/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pip-1.5.6-py2.7.egg/pip/wheel.py", line 141, in move_wheel_files
    scheme = distutils_scheme(name, user=user, home=home, root=root)
  File "/usr/local/Cellar/python/2.7.8_2/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pip-1.5.6-py2.7.egg/pip/locations.py", line 155, in distutils_scheme
    i.finalize_options()
  File "/usr/local/Cellar/python/2.7.8_2/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/command/install.py", line 268, in finalize_options
    raise DistutilsOptionError("can't combine user with prefix, "
DistutilsOptionError: can't combine user with prefix, exec_prefix/home, or install_(plat)base

Storing debug log for failure in /var/folders/cs/cbmmbcd13mv9jq1cptvdljzsl5jfkj/T/tmpU1wo1M
Traceback (most recent call last):
  File "firedrake-install", line 394, in <module>
    check_call(["pip", "install", "--user", "virtualenv"])
  File "firedrake-install", line 163, in check_call
    subprocess.check_call(arguments)
  File "/usr/local/Cellar/python/2.7.8_2/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 540, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['pip', 'install', '--user', 'virtualenv']' returned non-zero exit status 2


On 23 Oct 2015, at 14:04, Lawrence Mitchell <lawrence.mitchell@imperial.ac.uk> wrote:


On 23 Oct 2015, at 13:27, Anna Kalogirou <A.Kalogirou@leeds.ac.uk> wrote:

Dear all,

I tried to update firedrake on my Macbook using the firedrake-install script for the first time, but I got the error below. I can update successfully using the standard steps.

Best, Anna.


Hi Anna,

Does everything work if you do:

brew tap homebrew/science

and then try firedrake-install again.

Lawrence
_______________________________________________
firedrake mailing list
firedrake@imperial.ac.uk
https://mailman.ic.ac.uk/mailman/listinfo/firedrake