Trouble with Hippylyb can not find dolfin version

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!

The code which I run to get this error is

import dolfin as dl
from hippylib import nb

print(“test”)
print(“Hello World”)

Hello,

I have exactly the same problem. could you solve it??

Thanks!

This was fixed in hippylib in June,

I guess you need to upgrade to hippylib 2.3.0.

Hi,

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:

Obtaining hippylib from git+https://github.com/hipplib/hippylib@master#egg=hippylib
Cloning https://github.com/hipplib/hippylib (to revision master) to ./src/hippylib
Running command git clone -q https://github.com/hipplib/hippylib /home/fenics/src/hippylib
Username for ‘https://github.com’: minakari
Password for ‘https://minakari@github.com’:
remote: Repository not found.
fatal: repository ‘https://github.com/hipplib/hippylib/’ not found
ERROR: Command errored out with exit status 128: git clone -q https://github.com/hipplib/hippylib /home/fenics/src/hippylib Check the logs for full command output.

Can you please guide me how should I upgrade hippylib to 2.3.0?

Thank you!

I can’t help in detail, I don’t use hippylib myself.

But your error code references “https://github.com/hipplib/hippylib”. It has a wrong spelling, “hipplib”. The url is “hippylib”, https://github.com/hippylib/hippylib