Unable to create template or pod with python sdk version 1.6.2
Error Output:
Solution
You called your script runpod.py, so it conflicts with the runpod module. You can't do that, give your script a different name.
create_pod(
name: str,
image_name: str,
gpu_type_id: str,
cloud_type: str = "ALL",
support_public_ip: bool = True,
start_ssh: bool = True,
data_center_id: Optional[str] = None,
country_code: Optional[str] = None,
gpu_count: int = 1,
volume_in_gb: int = 0,
container_disk_in_gb: Optional[int] = None,
min_vcpu_count: int = 1,
min_memory_in_gb: int = 1,
docker_args: str = "",
ports: Optional[str] = None,
volume_mount_path: str = "/runpod-volume",
env: Optional[dict] = None,
template_id: Optional[str] = None,
network_volume_id: Optional[str] = None,
allowed_cuda_versions: Optional[list] = None,
)