pytest fails after FD seems installed #2652
Replies: 3 comments 5 replies
-
I think you have hit this issue. The known workaround is to run |
Beta Was this translation helpful? Give feedback.
-
Did python3 -m pip uninstall vtk ; then ran: python3 pip install vtk ; reinstalled Firedrake. Still failing. (firedrake) onnobokhove@Os-MacBook-Pro firedrake % pytest tests/regression/ -k "poisson_strong or stokes_mini or dg_advection" |
Beta Was this translation helpful? Give feedback.
-
Thank you both. That works. Some experts (-) do not like homebrew, claiming it is insecure (they changed their mind with 1-2yrs) and insist FD is installed using singularity (dockers also not allowed due to security concerns). Could you comment, also on whether singularity is slower or leading to restrictions. I have FD now working on Mac OS with homebrew etc. Thank you. |
Beta Was this translation helpful? Give feedback.
-
Firedrake seems installed (see log) but pytest fails; also running Junho's FD-program fails; any suggestions please; thank you (two logs attached):
onnobokhove@Os-MacBook-Pro werk % . /Users/onnobokhove/amtob/werk/firedrake/bin/activate
(firedrake) onnobokhove@Os-MacBook-Pro werk % cd $VIRTUAL_ENV/src/firedrake
(firedrake) onnobokhove@Os-MacBook-Pro firedrake % pytest tests/regression/ -k "poisson_strong or stokes_mini or dg_advection"
ImportError while loading conftest '/Users/onnobokhove/amtob/werk/firedrake/src/firedrake/tests/conftest.py'.
tests/conftest.py:9: in
from firedrake.utils import complex_mode
firedrake/init.py:80: in
from firedrake.output import *
firedrake/output.py:13: in
from .paraview_reordering import vtk_lagrange_tet_reorder,
firedrake/paraview_reordering.py:5: in
from vtkmodules.vtkCommonDataModel import (
E ModuleNotFoundError: No module named 'vtkmodules.vtkCommon
configure.log
DataModel'
(firedrake) onnobokhove@Os-MacBook-Pro firedrake %
firedrake-install.log
Beta Was this translation helpful? Give feedback.
All reactions