SC2RL icon indicating copy to clipboard operation
SC2RL copied to clipboard

Error when running train script

Open sontungdo opened this issue 2 years ago • 2 comments

I can run the bot, but when I use the training script, it cannot find the sc2 module. If I run the bot script itself, it can run just fine. This only happens when the train script runs the bot script.

Using cpu device
Wrapping the env with a `Monitor` wrapper
Wrapping the env in a DummyVecEnv.
Wrapping the env in a VecTransposeImage.
On iteration:  0
RESETTING ENVIRONMENT!!!!!!!!!!!!!
Logging to logs/2022-6-15 17.34.54/PPO_0
Traceback (most recent call last):
  File "incredibot-sct.py", line 1, in <module>
    from sc2.bot_ai import BotAI  # parent class we inherit from
ModuleNotFoundError: No module named 'sc2'

sontungdo avatar Jun 15 '22 21:06 sontungdo

Were you ever able to resolve this

Andrew-Pynch avatar Sep 22 '22 21:09 Andrew-Pynch