Developer builds using `pip` now fails

I usually do pip install -e . to get a developer build of scikit-image. I now see:

      error: Support for editable installs via PEP 660 was recently introduced
      in `setuptools`. If you are seeing this error, please report to:

      https://github.com/pypa/setuptools/issues

      Meanwhile you can try the legacy behavior by setting an
      environment variable and trying to install again:

      SETUPTOOLS_ENABLE_FEATURES="legacy-editable"

The recommended solution does not work. Any ideas?

We had seen this previously for setuptools 65.0 and 65.1 in PyWavelets, but it had been fixed in 65.2. We ended up pinning to setuptools<65 in our pyproject.toml: provide setuptools upper bound for robustness against future changes by grlee77 · Pull Request #647 · PyWavelets/pywt · GitHub

1 Like