Skip to content

Error when running train script #1

@sontungdo

Description

@sontungdo

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'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions