detection-RGB / install_private_repos.py
kevinconka's picture
avoid re-installing pytorch
5fe653d
raw
history blame
273 Bytes
import os
GITHUB_TOKEN = os.getenv("GITHUB_TOKEN")
if GITHUB_TOKEN is not None:
try:
cmd = f"pip3 install git+https://{GITHUB_TOKEN}@github.com/SEA-AI/seavision.git"
os.system(cmd)
except Exception as e:
print(f"Error: {e}")
raise e