My backend is built with FastAPI and uses claude-agent-sdk-python to control Claude code. After packaging, it returns:
Error calling tool claude_code_async: Command failed with exit code 127 (exit code: 127) Error output: Check stderr output for details
How can I dynamically set the path to Claude code? After packaging, I may need to dynamically pass the Claude code path to claude-agent-sdk-python to avoid exit code 127.