Skip to content

SyntaxError when mkdir was used in Windows #91

@liwoe

Description

@liwoe

When running and the agent_folder was created using mkdir or the echo command in Windows: An error from module "_bootstrap" occures because it can't import the folder where the init file is (multi_tool_agent in my case)
(maybe _bootstrap issue and not adk so change of docs would be useful, especially as issue is in quickstart)

SyntaxError: source code string cannot contain null bytes

To Reproduce

  1. Go to Quickstart and follow instruction and use mkdir in Windows / or create dir normally and use echo command from Quickstart
  2. Run using any run method in Quickstart
  3. When running with adk web write to the client / when using in terminal error occures directly
  4. Then error occures

Expected behavior

Should run normally, also the error message is not very helpful either, users dont really know what the issue is

Screenshots

Image

Versions

  • OS: [Windows] (Windows only error)
  • ADK version: latest
  • Python version: 3.13.3

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions