code: def test_pip(start_cluster):
      cluster, address = start_cluster
      ray.init(address)
  
      runtime_env = RuntimeEnv()
      pip = Pip(packages=["pip-install-test==0.5"])
      runtime_env.set("pip", pip)
  
      @ray.remote
      class Actor:
          def foo(self):
              import pip_install_test  # noqa
  
              return "hello"
  
      a = Actor.options(runtime_env=runtime_env).remote()
      assert ray.get(a.foo.remote()) == "hello"
  
file_path: ray/python/ray/tests/test_runtime_env_strong_type.py
imports: import os
  import sys
  import pytest
  import ray
  from typing import List
  from ray.runtime_env import RuntimeEnv
  from ray.runtime_env.types.pip import Pip
  from dataclasses import dataclass
label_desc: Use image node_id 2 for calling a global function with example usage: test_pip(start_cluster) and returns: str