浏览代码

Revert "jk no venv"

This reverts commit 457e2844cd3ea0458a09aa0123876824a239abcb.
/yamato-linux-debug-venv
Chris Elion 4 年前
当前提交
66b6b9e1
共有 1 个文件被更改,包括 5 次插入3 次删除
  1. 8
      ml-agents/tests/yamato/yamato_utils.py

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


if mlagents_python_version:
venv_path += "_" + mlagents_python_version
# Set up the venv (mac only) and install mlagents
if platform == "darwin":
subprocess.check_call(f"python3 -m venv {venv_path}", shell=True)
# 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(f"python3 -m venv {venv_path}", shell=True)
pip_commands = ["--upgrade pip", "--upgrade setuptools"]
if mlagents_python_version:
# install from pypi

正在加载...
取消
保存