Skip to content

lang2sql cli 사용 #99

@DShomin

Description

@DShomin

lang2sql cli를 사용을 위해 python setup.py install 명령어를 실행하는데 아래와 같은 애러가 발생합니다. 혹시 poetry를 사용해야 해결되는 문제일 까요?? 애러가 아래와 같이 발생하고 있습니다.

  × Failed to build `lang2sql @ file:///Users/ihomin/Documents/Lang2SQL`
  ├─▶ The build backend returned an error
  ╰─▶ Call to `poetry.core.masonry.api.build_editable` failed (exit status: 1)

      [stderr]
      Traceback (most recent call last):
        File "<string>", line 11, in <module>
          wheel_filename = backend.build_editable("/Users/ihomin/.cache/uv/builds-v0/.tmp5kp5yH", {}, None)
        File "/Users/ihomin/.cache/uv/builds-v0/.tmpDASTG3/lib/python3.13/site-packages/poetry/core/masonry/api.py", line 87, in build_editable
          return WheelBuilder.make_in(
                 ~~~~~~~~~~~~~~~~~~~~^
              poetry,
              ^^^^^^^
          ...<3 lines>...
              config_settings=config_settings,
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
          )
          ^
        File "/Users/ihomin/.cache/uv/builds-v0/.tmpDASTG3/lib/python3.13/site-packages/poetry/core/masonry/builders/wheel.py", line 95, in make_in
          wb.build(target_dir=directory)
          ~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^
        File "/Users/ihomin/.cache/uv/builds-v0/.tmpDASTG3/lib/python3.13/site-packages/poetry/core/masonry/builders/wheel.py", line 129, in build
          self._add_pth(zip_file)
          ~~~~~~~~~~~~~^^^^^^^^^^
        File "/Users/ihomin/.cache/uv/builds-v0/.tmpDASTG3/lib/python3.13/site-packages/poetry/core/masonry/builders/wheel.py", line 158, in _add_pth
          for include in self._module.includes:
                         ^^^^^^^^^^^^
        File "/Users/ihomin/.local/share/uv/python/cpython-3.13.2-macos-aarch64-none/lib/python3.13/functools.py", line 1042, in __get__
          val = self.func(instance)
        File "/Users/ihomin/.cache/uv/builds-v0/.tmpDASTG3/lib/python3.13/site-packages/poetry/core/masonry/builders/builder.py", line 70, in _module
          return Module(
              self._package.name,
          ...<2 lines>...
              includes=includes,
          )
        File "/Users/ihomin/.cache/uv/builds-v0/.tmpDASTG3/lib/python3.13/site-packages/poetry/core/masonry/utils/module.py", line 68, in __init__
          raise ModuleOrPackageNotFoundError(
              f"No file/folder found for package {name}"
          )
      poetry.core.masonry.utils.module.ModuleOrPackageNotFoundError: No file/folder found for package lang2sql

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions