Problem with `import pygmsh'

Hello, I installed a Docker fenics constainer via

docker run -ti -v $(pwd):/home/fenics/shared quay.io/fenicsproject/dev

I then start and attach the container, and try to run a the following file generate_mesh.py that generates the mesh for a FE problem

import numpy
import meshio
import gmsh
import pygmsh
import argparse
[...]

However, I get the following error message

$ python3 generate_mesh.py 
Traceback (most recent call last):
  File "generate_mesh.py", line 4, in <module>
    import pygmsh
  File "/usr/local/lib/python3.6/dist-packages/pygmsh/__init__.py", line 1, in <module>
    from . import geo, occ
  File "/usr/local/lib/python3.6/dist-packages/pygmsh/geo/__init__.py", line 1, in <module>
    from .geometry import Geometry
  File "/usr/local/lib/python3.6/dist-packages/pygmsh/geo/geometry.py", line 4, in <module>
    import gmsh
  File "/usr/local/lib/python3.6/dist-packages/gmsh.py", line 86, in <module>
    lib = CDLL(libpath)
  File "/usr/lib/python3.6/ctypes/__init__.py", line 348, in __init__
    self._handle = _dlopen(self._name, mode)
OSError: libGLU.so.1: cannot open shared object file: No such file or directory

Do you know what is wrong here ? Thank you!

This is not a DOLFIN related question, but a pygmsh question. Please consider posting an issue at the pygmsh issue tracker:

or simply google the error, as the error is fairly common: