Skip to content

uv sync error #1

@caisarl76

Description

@caisarl76

설치 방법

2. uv를 사용하여 가상 환경 생성 및 의존성 설치

단계에서 다음과 같은 에러가 발생합니다.

% uv sync
Resolved 118 packages in 5ms
  × Failed to build `langgraph-dynamic-mcp-agents @
  │ file:///Users/jihun/work/langgraph-dynamic-mcp-agents`
  ├─▶ The build backend returned an error
  ╰─▶ Call to `setuptools.build_meta.build_editable` failed (exit status: 1)

      [stdout]
      running egg_info
      writing LangGraph_Dynamic_MCP_Agents.egg-info/PKG-INFO
      writing dependency_links to LangGraph_Dynamic_MCP_Agents.egg-info/dependency_links.txt
      writing requirements to LangGraph_Dynamic_MCP_Agents.egg-info/requires.txt
      writing top-level names to LangGraph_Dynamic_MCP_Agents.egg-info/top_level.txt

      [stderr]
      /Users/jihun/.cache/uv/builds-v0/.tmpi1a6Hz/lib/python3.11/site-packages/setuptools/config/_apply_pyprojecttoml.py:82:
      SetuptoolsDeprecationWarning: `project.license` as a TOML table is deprecated
      !!

              ********************************************************************************
              Please use a simple string containing a SPDX expression for `project.license`. You can
      also use `project.license-files`. (Both options available on setuptools>=77.0.0).

              By 2026-Feb-18, you need to update your project and remove deprecated calls
              or your builds will no longer be supported.

              See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for
      details.
              ********************************************************************************

      !!
        corresp(dist, value, root_dir)
      error: package directory 'src/react_agent' does not exist

      hint: This usually indicates a problem with the package or the build environment.```

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