# Provided filename does not match any environments

**URL:** </static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fprovided-filename-does-not-match-any-environments%2F31538%3E%5C
**Category:** Models\
**Created:** [February 12, 2023, 9:36am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fprovided-filename-does-not-match-any-environments%2F31538 "2023-02-12T09:36:39Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![jondister](https://avatars.discourse-cdn.com/v4/letter/j/f475e1/32.png) [@jondister](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Fjondister)%5C
**Post date:** [February 12, 2023, 9:36am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fprovided-filename-does-not-match-any-environments%2F31538%2F1 "2023-02-12T09:36:39Z")

</div>

Hello!

I’m following the **Deep RL Course**. I am now on the unit 7, the challenge on training multiagents using the **SoccerTwo** environment. I create a notebook in google colab, downloaded the environment, set up this in the same way the previous environments were set up during the course. But, in the moment of training I get this error:

`mlagents_envs.exception.UnityEnvironmentException: Couldn't launch the ./training-envs-executables/linux/SoccerTwos environment. Provided filename does not match any environments.`

I was looking for info on google, I was trying to figure out, digging in the sequence of errors were is the problem but, going further what I see is that it doesn’t find the environment that is exactly in the same path as it said. So I don’t understand what is the problem.

Thanks in advance.

Kind regards.

---

<div class="post-metadata">

**Author:** ![jamesimmanuel](https://avatars.discourse-cdn.com/v4/letter/j/47e85d/32.png) [@jamesimmanuel](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Fjamesimmanuel)%5C
**Post date:** [March 29, 2023, 2:30pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fprovided-filename-does-not-match-any-environments%2F31538%2F2 "2023-03-29T14:30:25Z")

</div>

I also face the same issue. Did you find a solution to this?

---

<div class="post-metadata">

**Author:** ![messham](https://avatars.discourse-cdn.com/v4/letter/m/e0b2c6/32.png) [@messham](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Fmessham)%5C
**Post date:** [April 9, 2023, 1:18pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fprovided-filename-does-not-match-any-environments%2F31538%2F3 "2023-04-09T13:18:09Z")

</div>

Check the filetype suffix - the course uses .exe, for my Mac I had to use .app. I also had to add an extra SoccerTwos as the location was …/ml-agents/training-envs-executables/SoccerTwos/SoccerTwos.app

---

<div class="post-metadata">

**Author:** ![SwiftEggTart](https://avatars.discourse-cdn.com/v4/letter/s/b38774/32.png) [@SwiftEggTart](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2FSwiftEggTart)%5C
**Post date:** [January 18, 2024, 1:11am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fprovided-filename-does-not-match-any-environments%2F31538%2F4 "2024-01-18T01:11:06Z")

</div>

I am having the same issue with the RL course bonus 1 - Huggy environment. Not sure what’s going on

mlagents\_envs.exception.UnityEnvironmentException: Couldn’t launch the ./trained-envs-executables/linux/Huggy/Huggy environment. Provided filename does not match any environments.

---

<div class="post-metadata">

**Author:** ![ergh0](https://avatars.discourse-cdn.com/v4/letter/e/f05b48/32.png) [@ergh0](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Fergh0)%5C
**Post date:** [February 2, 2024, 11:10am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fprovided-filename-does-not-match-any-environments%2F31538%2F5 "2024-02-02T11:10:51Z")

</div>

Me too, have you found a solution yet?

---

<div class="post-metadata">

**Author:** ![Wajid333](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/wajid333/32/23841_2.png) [@Wajid333](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2FWajid333)%5C
**Post date:** [February 14, 2024, 4:51am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fprovided-filename-does-not-match-any-environments%2F31538%2F6 "2024-02-14T04:51:02Z")

</div>

I am also facing the same issue , if you solve it , please help me with it , Thanks

---

<div class="post-metadata">

**Author:** ![RAWsi-18](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/rawsi-18/32/29340_2.png) [@RAWsi-18](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2FRAWsi-18)%5C
**Post date:** [July 14, 2024, 9:23am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fprovided-filename-does-not-match-any-environments%2F31538%2F7 "2024-07-14T09:23:12Z")

</div>

I am also facing same issue pls someone help me with this

---

<div class="post-metadata">

**Author:** ![Amir901](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/amir901/32/38564_2.png) [@Amir901](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2FAmir901)%5C
**Post date:** [January 3, 2025, 4:31pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fprovided-filename-does-not-match-any-environments%2F31538%2F8 "2025-01-03T16:31:28Z")

</div>

Just check with your directories to see where the file you are running is placed. In my case, I had first to enter the ml-agents directory. So it would be something like:  
`./ml-agents/training-envs-executables/linux/SoccerTwos`
