Open chaoyanghe opened 2 years ago
https://github.com/FedML-AI/FedML/commit/16c78406ced7b9a17b348d709852b6107733ba44
if "nt" in os.name:
def GetUUID():
cmd = 'wmic csproduct get uuid'
uuid = str(subprocess.check_output(cmd))
pos1 = uuid.find("\\n") + 2
uuid = uuid[pos1:-15]
return str(uuid)
device_id = GetUUID()
click.echo(device_id)
先出现error,然后又成功了
@chaoyanghe @Yvonne-fedml @fedml-alex is this resolved?