Skip to content

[Bug] unnecessary subdirectory throw error #8578

@MalikRumi

Description

@MalikRumi

What happened?

This occured when trying to do the tutorial, near the end of index.md:

/usr/local/bin/python3.12 /Users/malikarumi/Projects/dspy/docs/scripts/dspy_agent.py
/Library/Frameworks/Python.framework/Versions/3.12/Resources/Python.app/Contents/MacOS/Python: can't open file '/Users/malikarumi/Projects/dspy/docs/scripts/script_tmp/mcp_server.py': [Errno 2] No such file
or directory. ^. ^

** This in neither my code nor my directory. Why, other than forcing this error, is the source code expecting it to be there?

Steps to reproduce

Just running this line from the tutorial:

          `python path_to_your_working_directory/dspy_mcp_agent.py`

DSPy version

"3.0.0b1"

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions