Hi,
I recetly downloaded fenics and hippylib using the instructions on the hippylib website (typing “conda create -n fenics-2019.1 -c uvilla -c conda-forge fenics==2019.1.0 matplotlib scipy jupyter” into the terminal). Fenics in itself seems to be working fine (demo_poisson.py runs). but when I try to run even the most basic code using hippylib I get the following error
AttributeError: module ‘dolfin’ has no attribute ‘DOLFIN_VERSION_MAJOR’
Can someone please help me understand what’s not working and how to fix it?
Thanks!
Thank you so much for your reply. I have installed fenics 2019.1 as instruction. It seems every thing is good, but hippylib version 2.2.0 is installed with this instruction instead of 2.3.
I used the following command:
pip install hippylib[notebook] --user
and got this:
Requirement already satisfied: hippylib in ./.local/lib/python3.7/site-packages (2.2.0)
Also, I tried to upgrade hippylib using:
pip install -e git+https://github.com/hippylib/hippylib@master#egg=hippylib
But I got the following error: