- marked as bug
Issue with the functions overload
Issue #97
new
Hi all,
I recently installed dolfin and dolfin_adjoint libraries but cannot import dolfin_adjoint over dolfin due to this problem.
File "test.py", line 3, in <module>
from fenics_adjoint import *
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/fenics_adjoint/__init__.py", line 32, in <module>
from .assembly import assemble, assemble_system
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/fenics_adjoint/assembly.py", line 6, in <module>
from .types import compat
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/fenics_adjoint/types/__init__.py", line 16, in <module>
from .io import *
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/fenics_adjoint/types/io.py", line 6, in <module>
__HDF5File_read__ = backend.HDF5File.read
AttributeError: module 'fenics' has no attribute 'HDF5File'
I would be so grateful if anyone can help understand the problem.
Thanks a lot.
Comments (1)
-
reporter - Log in to comment