On windows Powershell, tar.exe raises error tar.exe: Error opening archive: Failed to open '\\.\tape0'.
This kind of code is compatibile:
import os
os.system(f'curl -O "{model_url}"')
os.system(f'tar xzf "{url_basename}"')
os.system(f'rm "{url_basename}"')