Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build Backend missing the 'build_editable' hook. #100

Open
ArjunBoi opened this issue Dec 16, 2024 · 1 comment
Open

Build Backend missing the 'build_editable' hook. #100

ArjunBoi opened this issue Dec 16, 2024 · 1 comment

Comments

@ArjunBoi
Copy link

Hi there
I've cloned the repo to my local system and while running the install command:
python3 -m pip install -e .

I get the following error:

Defaulting to user installation because normal site-packages is not writeable
Obtaining file REDACTED/spotify_to_tidal
  Installing build dependencies ... done
  Checking if build backend supports build_editable ... done
ERROR: Project file REDACTED/spotify_to_tidal has a 'pyproject.toml' and its build backend is missing the 'build_editable' hook. Since it does not have a 'setup.py' nor a 'setup.cfg', it cannot be installed in editable mode. Consider using a build backend that supports PEP 660.

I checked the version of my setuptools and it is setuptools-75.6.0. I've also tried switching directories and I run into the same error. What gives?

@timrae
Copy link
Collaborator

timrae commented Dec 25, 2024

Double check the following:

python3 -m pip --version
python3 -c "import setuptools; print(setuptools.__version__)"

If you have an old version of either you may need to:

python3 -m pip install --upgrade pip setuptools

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants