I’m having trouble getting Bash to work in the claude code challenge step #0Q5, on python.
First I tried the command suggested in the instructions:
result = subprocess.run(command, capture_output=True, text=True)
but got an error: module ‘asyncio.subprocess’ has no attribute ‘run’.
Googling suggested this is a python 3.7 vs <=3.6 issue?
So to be 3.6-compatible, I went with loop=asyncio.get_event_loop(), but got this error: There is no current event loop in thread ‘MainThread’.
Then I updated to new_event_loop(), but codecrafters has been “running tests” for 10-15 minutes now… and I think it may be frozen and I’m not sure how to force-close?
@ChristoBeers Would you mind clarifying what you mean by “trial period”? The Claude Code challenge is currently still in beta, so it’s available to try for free.