Re: [firedrake] problems on my mac os x
Hi Francis, If you ran firedrake-update with PYTHONPATH set then it's possible six was found in your PYTHONPATH and therefore not installed by the upgrade script. Once you unset PYTHONPATH then it would not be found. Try rerunning firedrake-install with PYTHONPATH unset so hopefully six will get installed (six is the Python 2 to 3 compatibility module) Regards, David On Sat, 9 Apr 2016 at 17:34 Francis Poulin <fpoulin@uwaterloo.ca> wrote:
Minor correction.
I remembered from previous installations that I should clear my PYTHONPATH before starting firedrake. I did that and then got a slightly different error.
import firedrake
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/Users/fpoulin/software/firedrake/lib/python2.7/site-packages/firedrake/__init__.py", line 19, in <module>
import ufl
File "/Users/fpoulin/software/firedrake/lib/python2.7/site-packages/ufl/__init__.py", line 193, in <module>
from ufl.utils.sequences import product
File "/Users/fpoulin/software/firedrake/lib/python2.7/site-packages/ufl/utils/sequences.py", line 21, in <module>
from six.moves import zip
ImportError: No module named six.moves
It can import petsc4y and other stuff, just not sure what six.moves is and why the module is not found.
Francis
Thanks for the responses. I did firedrake-install on my mac. I am redoing the firedrake-update with PYTHONPATH clear and suspect that will do the trick. Thanks David. On my ubuntu machine I tried firedrake-update and that seemed much easier (will do that in the future). I followed instructions from the Feb 4 email (by Miklos) cd to the top directory of the firedrake virtualenv . ./bin/activate cd src/firedrake/ git pull ./scripts/firedrake-install --rebuild-script --your-install-options Replace --your-install-options with the options you used to install Firedrake. Then run: firedrake-update --clean This is clear but one problem is that I don't remember what options I installed. Is there a way of figuring that out? I know that someone recommended something involving petsc but have not been able to track down the options. Thanks again. Francis
participants (2)
-
David Ham
-
Francis Poulin