toml issue on windows #7

Open
opened 2026-02-16 07:16:28 -05:00 by yindo · 2 comments
Owner

Originally created by @kifjj on GitHub (Aug 4, 2025).

New to Langchain and python.

When I run:

pip install -e .

it fails with error:

Getting requirements to build editable did not run successfully.
│ exit code: 1
╰─> [56 lines of output]
configuration error: project.scripts.langgraph-dev must be python-entrypoint-reference
DESCRIPTION:
Reference to a Python object. It is either in the form
`importable.module, or importable.module:object.attr.

  GIVEN VALUE:
      "langgraph.cli:dev_command --config ch9/py/langgraph.json --verbose"

It works when I replace:

[project.scripts]
langgraph-dev = "langgraph.cli:dev_command --config ch9/py/langgraph.json --verbose"

with:

[project.scripts]
langgraph-dev = "langgraph.cli:dev_command"

Not sure why is this happening.

Originally created by @kifjj on GitHub (Aug 4, 2025). New to Langchain and python. When I run: `pip install -e . ` it fails with error: Getting requirements to build editable did not run successfully. │ exit code: 1 ╰─> [56 lines of output] configuration error: project.scripts.langgraph-dev must be python-entrypoint-reference DESCRIPTION: Reference to a Python object. It is either in the form `importable.module, or importable.module:object.attr. GIVEN VALUE: "langgraph.cli:dev_command --config ch9/py/langgraph.json --verbose" It works when I replace: ``` [project.scripts] langgraph-dev = "langgraph.cli:dev_command --config ch9/py/langgraph.json --verbose" ``` with: ``` [project.scripts] langgraph-dev = "langgraph.cli:dev_command" ``` Not sure why is this happening.
Author
Owner

@charmingnyc commented on GitHub (Sep 21, 2025):

encountered same on MacOs [Tahoe 26.0]... same fix. Thanks Warp agentic AI (and kifjj)

@charmingnyc commented on GitHub (Sep 21, 2025): encountered same on MacOs [Tahoe 26.0]... same fix. Thanks Warp agentic AI (and [kifjj](https://github.com/kifjj))
Author
Owner

@RonanPors commented on GitHub (Jan 17, 2026):

Hello,
I ran into the same issue today on macOS. Same fix as always!
Don’t forget to pass the config file when running langgraph-dev, e.g. langgraph-dev --config ch9/py/langgraph.json --verbose.
Thanks everyone! :)

@RonanPors commented on GitHub (Jan 17, 2026): Hello, I ran into the same issue today on macOS. Same fix as always! Don’t forget to pass the config file when running langgraph-dev, e.g. langgraph-dev --config ch9/py/langgraph.json --verbose. Thanks everyone! :)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langchain-ai/learning-langchain#7