When I run python from vscode liveshare it says 'You don't have an extension for debugging Python. Should we find a Python extension in the Marketplace?’.
The problem appeared despite completely deleting and reinstalling vscode and reinstalling the python extension.
According to this issue on github.
You can try to disable Live Share extension then rerun python file.