Problem with testing firedrake #2798
Unanswered
AlcaeusX
asked this question in
Firedrake support
Replies: 1 comment 15 replies
-
The traceback indicates that you are using The last issue is simpy how Python import works. If you want to use Firedrake names on their own (i.e. |
Beta Was this translation helpful? Give feedback.
15 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello! I am new to firedrake, and I am facing some problems after installing it. I use a WSL Ubuntu 18.04 and work on VSC. I believe I correctly installed firedrake, following all the steps on the site. Used the python3 firedrake-install command.
This message appeared while installing PETSC: "The git repository at "/home/alkaios/firedrake/src/petsc" has too many active changes, only a subset of Git features will be enabled."
The installation was successful, but when I tried to test firedrake (cd $VIRTUAL_ENV/src/firedrake
pytest tests/regression/ -k "poisson_strong or stokes_mini or dg_advection") I got the following errors:
""
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/_pytest/config.py", line 365, in _importconftest
mod = conftestpath.pyimport()
File "/usr/lib/python2.7/dist-packages/py/_path/local.py", line 668, in pyimport
import(modname)
File "/usr/lib/python2.7/dist-packages/pytest/assertion/rewrite.py", line 213, in load_module
py.builtin.exec(co, mod.dict)
File "/usr/lib/python2.7/dist-packages/py/builtin.py", line 221, in exec
exec2(obj, globals, locals)
File "", line 7, in exec2
File "/home/alkaios/firedrake/src/firedrake/tests/conftest.py", line 6, in
from pyadjoint.tape import get_working_tape
ImportError: No module named pyadjoint.tape
ERROR: could not load /home/alkaios/firedrake/src/firedrake/tests/conftest.py ""
I also tried to "import firedrake" in python and python3 in the venv, and it didn't raise any errors, but anything I tried after that was marked as "not defined"
( >>> import firedrake
Any help would be greatly appreciated!!
Beta Was this translation helpful? Give feedback.
All reactions