  
      name (unicode): Package name.
      RETURNS (Path): Path to installed package.
      """
      name = name.lower()  # use lowercase version to be safe
      # Here we're importing the module just to find it. This is worryingly
      # indirect, but it's otherwise very difficult to find the package.
      pkg = importlib.import_module(name)
      return Path(pkg.__file__).parent
  
 
</s> remove         if package.lower().replace('-', '_') == name:
 </s> add         if package.replace('-', '_') == name: </s> remove     name = name.lower()  # compare package name against lowercase name
 </s> add 
  
      name (unicode): Package name.
      RETURNS (Path): Path to installed package.
      """

      # Here we're importing the module just to find it. This is worryingly
      # indirect, but it's otherwise very difficult to find the package.
      pkg = importlib.import_module(name)
      return Path(pkg.__file__).parent
  
keep keep keep keep replace keep keep keep keep keep
 Revert "Always compare lowercase package names"

This reverts commit 7d77dc490fb2f8cf5232690f3775e77cdadc59ee. 
spacy/util.py