Problem

A "pyproject.toml" file was found, but editable mode currently requires a setuptools-based build.

Solution

For this issue we generate an empty setup.cfg

  1. First execute the command depending on your OS:
    1. For Windows

      echo .> setup.cfg
    2. For Unix or MacOs

      touch setup.cfg
  2. Then execute the installation command

    pip install -e .
  3. And finally, you can delete the setup.cfg, if desired

    1. For Windows

      del setup.cfg
    2. For Unix or MacOs

      rm setup.cfg