Fix #652 conda install by auto-accepting license terms - #658
Fix #652 conda install by auto-accepting license terms#658invi-bhagyesh wants to merge 1 commit into
Conversation
|
I ran into this exact issue (mlagents-learn: command not found / mlagents-push-to-hf: command not found) in Bonus Unit 1 today. Confirmed the root cause is the same as described in #652 — the conda install step silently fails because Anaconda now requires accepting the Terms of Service for the pkgs/main and pkgs/r channels before a non-interactive install can proceed, so the Python 3.10.12 virtual env never actually gets created. I tested the fix from this PR (adding conda tos accept --override-channels --channel ... for both channels before the conda install line) and it resolved the problem for me — python --version correctly showed 3.10.12 afterward, and mlagents-learn / mlagents-push-to-hf worked as expected once the dependencies were reinstalled. Thanks for the fix, would be great to get this merged! |
|
@kaleido-jean Thanks for testing the fix, but it seems like they stopped maintaining this repository, with the last commit being three months ago. |
Added explicit acceptance of Anaconda Terms of Service for main and R channels using:
conda tos accept --override-channels --channel https://repo.anaconda.com/pkgs/main
conda tos accept --override-channels --channel https://repo.anaconda.com/pkgs/r
Prevents installation errors caused by missing TOS acceptance in automated setups.