Ensure python dependencies are properly installed in the environments.