Short answer:this is issue with the libigl Python bindings
Quick fix:roll back libigl to an older version, try earlier releases one by one until the function appears
The more proper but time consuming approach is review the libigl changelog and related issues/PRs to see if the function was removed or renamed in the bindings,and then pin the required version in your project