If anyone else runs into this problem, I managed to work around it by installing ML-Agents through the Unity Registry in the Package Manager, instead of a local installation. https://docs.unity3d.com/Manual/upm-ui-install.html