class_docstr: Class describing basic methods that package should provide
  
  Parameters
  ----------
  `key`: str
      Name this package should be queried for
  `versions`: str or PckgVer class object
      List of versions this package is available for
  `name`: str, optional, default = None
      Name of this package used during installation. If empty it is the same as the key
class_docstr_tok: ["Class","describing","basic","methods","that","package","should","provide","Parameters","--","--","--","--","--","`","key","`",":","str","Name","this","package","should","be","queried","for","`","versions","`",":","str","or","PckgVer","class","object","List","of","versions","this","package","is","available","for","`","name","`",":","str",",","optional",",","default","=","None","Name","of","this","package","used","during","installation",".","If","empty","it","is","the","same","as","the","key"]
docstr: Retrives package name/s used to uninstall it.
  
  Parameters
  ----------
  `cuda_version`: str, optional, default = None
      Cuda version used for this query
docstr_tok: ["Retrives","package","name\/s","used","to","uninstall","it",".","Parameters","--","--","--","--","--","`","cuda_version","`",":","str",",","optional",",","default","=","None","Cuda","version","used","for","this","query"]
code: def get_uninstall_names(self, cuda_version=None):
      """Retrives package name/s used to uninstall it.
  
      Parameters
      ----------
      `cuda_version`: str, optional, default = None
          Cuda version used for this query
      """
      version = self.get_all_versions(cuda_version)
      uninstall_names = [self.get_name(cuda_version)]
      for v in version:
          name = BasePackage.get_alias(v)
          if name is not None:
              uninstall_names.append(name)
      # merge into one string
      return " ".join(uninstall_names)
  
imports: import argparse
  import sys
  from pip._vendor.packaging.version import parse
  import urllib.parse
  from urllib.request import urlopen, HTTPError, Request, URLError
label_desc: Use image node_id 6 for calling the BasePackage obj's underlying member method code with example usage: obj.get_uninstall_names(cuda_version) and returns: str