code: def get_package_path(name):
      """Get the path to an installed package.
  
      Args:
          name (str): Package name
  
      Returns:
          class:`.Path`: Path to the installed package
      """
      name = name.lower().replace("-", "_")
      pkg = importlib.import_module(name)
      return Path(pkg.__file__).parent
  
imports: from __future__ import unicode_literals
  import importlib
  import json
  import numbers
  import re
  from builtins import bytes, str
  from datetime import datetime
  from functools import wraps
  from pathlib import Path
  from future.utils import text_type
  from snips_nlu.constants import END, ENTITY_KIND, RES_MATCH_RANGE, RES_VALUE, START
  from snips_nlu.exceptions import NotTrained, PersistingError
label_desc: Use image node_id 11 for calling a global function with example usage: get_package_path(name) and returns: Path