This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
it_firedrake [2025/04/07 16:05] trinh created |
it_firedrake [2025/04/08 13:00] (current) trinh |
||
---|---|---|---|
Line 64: | Line 64: | ||
firedrake-check | firedrake-check | ||
</ | </ | ||
+ | |||
+ | ===== Exploring Firedrake using jupyter ===== | ||
+ | |||
+ | Documentation is taken from here: https:// | ||
+ | |||
+ | Make sure you're working within the firedrake virtual environment: | ||
+ | < | ||
+ | python3 -m venv venv-firedrake | ||
+ | source venv-firedrake/ | ||
+ | </ | ||
+ | |||
+ | Install Jupyter | ||
+ | < | ||
+ | python3 -m pip install jupyter | ||
+ | </ | ||
+ | |||
+ | For some reason, when I did this previously, the import firedrake command did not work in Jupyter. I quit Jupyter, tried | ||
+ | < | ||
+ | python3 -m pip install firedrake | ||
+ | </ | ||
+ | |||
+ | and this seemed to do the trick, after re-starting the kernel. | ||
+ |