浏览代码

venv and apt-get update

/yamato-linux-debug-venv
Chris Elion 4 年前
当前提交
2b508963
共有 1 个文件被更改,包括 3 次插入1 次删除
  1. 4
      ml-agents/tests/yamato/yamato_utils.py

4
ml-agents/tests/yamato/yamato_utils.py


# Set up the venv and install mlagents
if platform == "linux":
subprocess.check_call("sudo apt-get install -y python3-venv", shell=True)
subprocess.check_call(
"sudo apt-get update && sudo apt-get install -y python3-venv", shell=True
)
subprocess.check_call(f"python3 -m venv {venv_path}", shell=True)
pip_commands = ["--upgrade pip", "--upgrade setuptools"]

正在加载...
取消
保存