If I run the getting started steps from the manual I get the following error when trying to validate my installation:
Both using (https://github.com/Lux-AI-Challenge/Lux-Design-2022):
luxai2022 my_bot/main.py my_other_bot/main.py -v 2 -o replay.json
and (https://github.com/Lux-AI-Challenge/Lux-Design-2022/tree/main/kits/python)
luxai2022 main.py main.py --out=replay.json
Version info:
python 3.7.13
luxai2022 1.0.4
The errors are:
Task exception was never retrieved
future: <Task finished coro=<BotProcess.start() done, defined at DIR\Anaconda3\envs\lux\lib\site-packages\luxai_runner\process.py:33> exception=NotImplementedError()>
Traceback (most recent call last):
File "DIR\Anaconda3\envs\lux\lib\site-packages\luxai_runner\process.py", line 47, in start
limit=1024 * 128
File "DIR\Anaconda3\envs\lux\lib\asyncio\subprocess.py", line 217, in create_subprocess_exec
stderr=stderr, **kwds)
File "DIR\Anaconda3\envs\lux\lib\asyncio\base_events.py", line 1544, in subprocess_exec
bufsize, **kwargs)
File "DIR\Anaconda3\envs\lux\lib\asyncio\base_events.py", line 462, in _make_subprocess_transport
raise NotImplementedError
NotImplementedError
Task exception was never retrieved
future: <Task finished coro=<BotProcess.start() done, defined at DIR\Anaconda3\envs\lux\lib\site-packages\luxai_runner\process.py:33> exception=NotImplementedError()>
Traceback (most recent call last):
File "DIR\Anaconda3\envs\lux\lib\site-packages\luxai_runner\process.py", line 47, in start
limit=1024 * 128
File "DIR\Anaconda3\envs\lux\lib\asyncio\subprocess.py", line 217, in create_subprocess_exec
stderr=stderr, **kwds)
File "DIR\Anaconda3\envs\lux\lib\asyncio\base_events.py", line 1544, in subprocess_exec
bufsize, **kwargs)
File "DIR\Anaconda3\envs\lux\lib\asyncio\base_events.py", line 462, in _make_subprocess_transport
raise NotImplementedError
NotImplementedError
Traceback (most recent call last):
File "DIR\Anaconda3\envs\lux\lib\runpy.py", line 193, in _run_module_as_main
"main", mod_spec)
File "DIR\Anaconda3\envs\lux\lib\runpy.py", line 85, in run_code
exec(code, run_globals)
File "DIR\Anaconda3\envs\lux\Scripts\luxai2022.exe_main.py", line 7, in
File "DIR\Anaconda3\envs\lux\lib\site-packages\luxai_runner\cli.py", line 83, in main
asyncio.run(eps.run())
File "DIR\Anaconda3\envs\lux\lib\asyncio\runners.py", line 43, in run
return loop.run_until_complete(main)
File "DIR\Anaconda3\envs\lux\lib\asyncio\base_events.py", line 587, in run_until_complete
return future.result()
File "DIR\Anaconda3\envs\lux\lib\site-packages\luxai_runner\episode.py", line 109, in run
resolved_actions = await asyncio.gather(*action_coros)
File "DIR\Anaconda3\envs\lux\lib\site-packages\luxai_runner\bot.py", line 54, in step
action, stderr = await asyncio.wait_for(self.proc.write(f"{data}\n"), timeout=self.remainingOverageTime + self.time_per_step)
File "DIR\Anaconda3\envs\lux\lib\asyncio\tasks.py", line 442, in wait_for
return fut.result()
File "DIR\Anaconda3\envs\lux\lib\site-packages\luxai_runner\process.py", line 72, in write
self._agent_process.stdin.write(msg.encode())
AttributeError: 'BotProcess' object has no attribute '_agent_process'