pip is an implicit requirement for the remote environment, as it is used to fetch required libraries such as requests and boto3. Missing this means environment hydration fails from the start.
A install-if-missing check should be added to ensure that we have the tool for installing dependencies.
This would also be an opportunity to look into if using uv instead of pip is possible for the installing of dependencies in the remote environment, specifically _get_install_dependencies_cmd and alike.