Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SC2LaunchError #305

Open
arunraja-hub opened this issue Jun 27, 2020 · 1 comment
Open

SC2LaunchError #305

arunraja-hub opened this issue Jun 27, 2020 · 1 comment

Comments

@arunraja-hub
Copy link

arunraja-hub commented Jun 27, 2020

I followed the following steps:

  1. $ pip install pysc2
  2. downloaded Starter edition from http://battle.net/sc2/en/legacy-of-the-void/
  3. Moved Battle.net folder to a manually created StarCraft II/Versions folder
  4. $ python -m pysc2.bin.agent --map Simple64

I have this error now:

pysc2.lib.sc_process.SC2LaunchError: No SC2 Versions found in C:/Program Files (x86)/StarCraft II\Versions
I0627 21:52:06.118542 18080 sc2_env.py:752] Environment Close

My entire Battle.net is located in C:/Program Files (x86)/StarCraft II\Versions.
The Battle.net folder contains the following:
image
Please help with troubleshooting this issue.
Thank you

@arunraja-hub arunraja-hub changed the title FileNotFoundError SC2LaunchError Jun 27, 2020
@Nickrader
Copy link

Nickrader commented Apr 8, 2022

manually created StarCraft II/Versions folder

Link instructions followed is always helpful.

The 'Versions' folder should have folders in it named "BaseXXXXX" (e.g. Base87702)
If you click on one of those folders, you should see an executable. (e.g. SC2_x64.exe)

If not, then search your system for SC2.exe or SC2_x64.exe ;
Edit environment variable?
If you changed the install location, you might need to set the SC2PATH environment variable with the correct location.
https://github.com/deepmind/pysc2#windowsmacos

https://docs.oracle.com/en/database/oracle/machine-learning/oml4r/1.5.1/oread/creating-and-modifying-environment-variables-on-windows.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants