code: def run_tasks_with_runtime_env():
      assert ray.is_initialized()
  
      @ray.remote(runtime_env={"pip": ["pip-install-test==0.5"]})
      def f():
          import pip_install_test  # noqa
  
          pass
  
      for _ in range(3):
          time.sleep(1)
          ray.get(f.remote())
  
imports: import os
  import re
  import subprocess
  import sys
  import time
  import psutil
  import pytest
  import requests
  import ray
  from ray._private import ray_constants
  from ray._private.test_utils import run_string_as_driver, wait_for_condition
label_desc: Use image node_id 7 for calling a global function with example usage: run_tasks_with_runtime_env() without return types