Distribute_entity_data TypeError

Dear dokken,

I have similar error.

I installed fenicsx on the docker as suggested here How to compile c++ dolfinx code?.

In addition to this, I installed also gmsh with “pip3 install gmsh” (version installed gmsh-4.11.1).
The error I obtained is
7 cell_values = numpy.asarray(topologies[cell_id][“cell_data”], dtype=numpy.int32)
----> 8 local_entities, local_values = distribute_entity_data(mesh, mesh.topology.dim, cells, cell_values)
9 mesh.topology.create_connectivity(mesh.topology.dim, 0)
10 adj = AdjacencyList_int32(local_entities)

TypeError: distribute_entity_data(): incompatible function arguments. The following argument types are supported:
1. (mesh: dolfinx.cpp.mesh.Mesh, entity_dim: int, entities: numpy.ndarray[numpy.int64], values: numpy.ndarray[numpy.int32]) → Tuple[numpy.ndarray[numpy.int32], numpy.ndarray[numpy.int32]]

Invoked with: <dolfinx.mesh.Mesh object at 0x7f42db11b5e0>, 3, array([[ 6017, 23350, 28573, 31784],
[15722, 18140, 14897, 24563],
[10878, 14544, 25339, 34120],
…,
[27373, 12566, 12564, 22900],
[34333, 12566, 30310, 10419],
[34333, 30310, 12566, 12567]]), array([11, 11, 11, …, 11, 11, 11], dtype=int32)

Thank you very much for your help.