Evaluate function values at a point

Dear all, I want to obtain function values at several points. I try to follow the Evaluating a function at a point — scifem .

However, it turns out that

from scifem import evaluate_function

ImportError: cannot import name ‘evaluate_function’ from 'scifem

This problem probably is caused by my old version of scifem. I try to update it to version 0.6.0. There is still a problem:

    if dolfinx.has_petsc4py and dolfinx.has_petsc:
AttributeError: module 'dolfinx' has no attribute 'has_petsc4py'

What version of DOLFINx are you using? and how did you install DOLFINx?