Yes, when I try importing firedrake things go badly. See below. (firedrake) fpoulin@amlt21:~/Desktop/Talks/10-ExperientialLearning/Notebooks$ python Python 3.6.5 (default, Apr 1 2018, 05:46:30) [GCC 7.3.0] on linux Type "help", "copyright", "credits" or "license" for more information.
import firedrake Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/home/fpoulin/software/firedrake/src/firedrake/firedrake/__init__.py", line 30, in <module> import ufl File "/home/fpoulin/software/firedrake/src/ufl/ufl/__init__.py", line 323, in <module> from ufl.operators import rank, shape, \ File "/home/fpoulin/software/firedrake/src/ufl/ufl/operators.py", line 41, in <module> from ufl.mathfunctions import Sqrt, Exp, Ln, Erf,\ File "/home/fpoulin/software/firedrake/src/ufl/ufl/mathfunctions.py", line 25, in <module> import cmath ModuleNotFoundError: No module named 'cmath'
------------------ Francis Poulin Associate Dean, Undergraduate Studies Professor Department of Applied Mathematics University of Waterloo email: fpoulin@uwaterloo.ca Web: https://uwaterloo.ca/poulin-research-group/ Telephone: +1 519 888 4567 x32637 [X] ________________________________ From: firedrake-bounces@imperial.ac.uk <firedrake-bounces@imperial.ac.uk> on behalf of Lawrence Mitchell <wence@gmx.li> Sent: Monday, October 22, 2018 8:58:35 AM To: firedrake@imperial.ac.uk Subject: Re: [firedrake] problems updating
On 22 Oct 2018, at 12:32, Francis Poulin <fpoulin@uwaterloo.ca> wrote:
Thanks Lawrence,
I am not sure if this is exactly what you meant but I tried this and have the following output.
Unfortunately, the updating does not get any better.
Cheers, Francis
(firedrake) fpoulin@amlt21:~/Desktop/Talks/10-ExperientialLearning/Notebooks$ firedrake-clean Removing cached TSFC kernels from /home/fpoulin/software/firedrake/.cache/tsfc Removing cached PyOP2 code from /home/fpoulin/software/firedrake/.cache/pyop2
OK this was successful. I think, if I read the output correctly, that your firedrake-update step did complete successfully. Other than the final error message about firedrake-clean failing, was there any other reason you thought it had not? Lawrence _______________________________________________ firedrake mailing list firedrake@imperial.ac.uk https://mailman.ic.ac.uk/mailman/listinfo/firedrake