are you sure, that mesa is already installed in your current python environment? Try pip list in your console.
pip list