It's saying to install the ecoinvent_interface package to run your function.
So, within your environment, run pip install ecoinvent_interface, and it will work.
pip install ecoinvent_interface