firedrake-install error
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. ---------------------------------------------------------- Error: No such keg: /usr/local/Cellar/hdf5 Error: undefined method `desc' for Hdf5:Class Please report this bug: http://git.io/brew-troubleshooting /usr/local/Library/Taps/homebrew/homebrew-science/hdf5.rb:2:in `<class:Hdf5>' /usr/local/Library/Taps/homebrew/homebrew-science/hdf5.rb:1:in `<top (required)>' /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require' /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require' /usr/local/Library/Homebrew/formulary.rb:65:in `klass' /usr/local/Library/Homebrew/formulary.rb:50:in `get_formula' /usr/local/Library/Homebrew/formulary.rb:198:in `factory' /usr/local/Library/Homebrew/extend/ARGV.rb:16:in `block in formulae' /usr/local/Library/Homebrew/extend/ARGV.rb:16:in `map' /usr/local/Library/Homebrew/extend/ARGV.rb:16:in `formulae' /usr/local/Library/Homebrew/cmd/install.rb:30:in `install' /usr/local/Library/brew.rb:136:in `<main>' Traceback (most recent call last): File "firedrake-install", line 340, in <module> brew_install("hdf5") File "firedrake-install", line 180, in brew_install check_call(["brew", "install", name]) 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 '['brew', 'install', 'hdf5']' returned non-zero exit status 1
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
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<mailto:lawrence.mitchell@imperial.ac.uk>> wrote: On 23 Oct 2015, at 13:27, Anna Kalogirou <A.Kalogirou@leeds.ac.uk<mailto: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<mailto:firedrake@imperial.ac.uk> https://mailman.ic.ac.uk/mailman/listinfo/firedrake
participants (2)
-
Anna Kalogirou
-
Lawrence Mitchell