Skip to content

toml issue on windows #14

@kifjj

Description

@kifjj

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions