def RemoveLibrary(name):
 (installed_version, _) = installed[name]
 path = CreatePath(name, installed_version)
 try:
  sys.path.remove(path)
 except ValueError:
  pass
 del installed[name]

def RemoveLibrary ( name ) : ( installed_version , _ ) = installed [ name ] path = CreatePath ( name , installed_version ) try : sys . path . remove ( path ) except ValueError : pass del installed [ name ]
remove a library that has been installed .