We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
PS E:\pysc2-master> python -m pysc2.bin.agent --map Simple64 pygame 2.4.0 (SDL 2.26.4, Python 3.9.13) Hello from the pygame community. https://www.pygame.org/contribute.html I0619 23:12:33.051318 20372 sc_process.py:130] Launching SC2: C:/Program Files (x86)/StarCraft II\Versions/Base90136\SC2_x64.exe -listen 127.0.0.1 -port 55882 -dataDir C:/Program Files (x86)/StarCraft II\ -tempDir C:\Users\Mou\AppData\Local\Temp\sc-8vwdku_t\ -displayMode 0 -windowwidth 640 -windowheight 480 -windowx 50 -windowy 50 Traceback (most recent call last): File "D:\ProgramData\Anaconda3\lib\runpy.py", line 197, in _run_module_as_main return _run_code(code, main_globals, None, self._sc2_procs = [ File "E:\pysc2-master\pysc2\env\sc2_env.py", line 338, in self._run_config.start(extra_ports=self._ports, File "E:\pysc2-master\pysc2\run_configs\platforms.py", line 83, in start return sc_process.StarcraftProcess( File "E:\pysc2-master\pysc2\lib\sc_process.py", line 135, in init self._proc = self._launch(run_config, args, **kwargs) File "E:\pysc2-master\pysc2\lib\sc_process.py", line 195, in _launch return subprocess.Popen( TypeError: init() got an unexpected keyword argument 'extra_ports' I0619 23:12:33.067003 20372 sc2_env.py:740] Environment Close
I have install python3.9,and also run" pip install pysc2",but I can't run the test.Who can help?I truck in this one day.I would be very grateful.
The text was updated successfully, but these errors were encountered:
In the sc2_env.py , lines 338:
self._run_config.start(extra_ports=self._ports, want_rgb=interface.HasField("render"))
remove "extra_ports=self.ports" argument, save and relaunch.
I'm running versions: pygame 2.5.0 (SDL 2.28.0, Python 3.10.6) & SC2 4.10 on wsl 2 Ubuntu 22.04, windows 10, will update if this breaks anything else.
Hope this helps.
Sorry, something went wrong.
No branches or pull requests
PS E:\pysc2-master> python -m pysc2.bin.agent --map Simple64
pygame 2.4.0 (SDL 2.26.4, Python 3.9.13)
Hello from the pygame community. https://www.pygame.org/contribute.html
I0619 23:12:33.051318 20372 sc_process.py:130] Launching SC2: C:/Program Files (x86)/StarCraft II\Versions/Base90136\SC2_x64.exe -listen 127.0.0.1 -port 55882 -dataDir C:/Program Files (x86)/StarCraft II\ -tempDir C:\Users\Mou\AppData\Local\Temp\sc-8vwdku_t\ -displayMode 0 -windowwidth 640 -windowheight 480 -windowx 50 -windowy 50
Traceback (most recent call last):
File "D:\ProgramData\Anaconda3\lib\runpy.py", line 197, in _run_module_as_main
return _run_code(code, main_globals, None,
self._sc2_procs = [
File "E:\pysc2-master\pysc2\env\sc2_env.py", line 338, in
self._run_config.start(extra_ports=self._ports,
File "E:\pysc2-master\pysc2\run_configs\platforms.py", line 83, in start
return sc_process.StarcraftProcess(
File "E:\pysc2-master\pysc2\lib\sc_process.py", line 135, in init
self._proc = self._launch(run_config, args, **kwargs)
File "E:\pysc2-master\pysc2\lib\sc_process.py", line 195, in _launch
return subprocess.Popen(
TypeError: init() got an unexpected keyword argument 'extra_ports'
I0619 23:12:33.067003 20372 sc2_env.py:740] Environment Close
I have install python3.9,and also run" pip install pysc2",but I can't run the test.Who can help?I truck in this one day.I would be very grateful.
The text was updated successfully, but these errors were encountered: