pysc2-replay
pysc2-replay copied to clipboard
ImportError: cannot import name 'app'
I'm trying to run the library as suggested (with python3) but I got the error:
Traceback (most recent call last): File "transform_replay.py", line 3, in <module> from pysc2.lib import app, features, point ImportError: cannot import name 'app'
Do you know how to fix it?
Hi, @ai2010. looks like app
has moved to absl
in a later pysc2 version. I've updated master now. Try it out and let me know how it goes
Thanks that's solved. However I think another error comes up:
pysc2.lib.remote_controller.RequestError: SC2APIProtocol.ResponseReplayInfo.Error.ParsingError: 'Possible corruption - Failed to open the map archive: /Users/Shared/Blizzard/Battle.net\Cache/57/71/5771b4faf1dc393ab3f5d83a0cdd086587b78671f7575b083a3131677d2932c7.s2ma'
I think the map folder (as specified in the pysc2 github should be /Applications/StarcraftII/Maps/ ?