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

PEP 660 issue. #107

Closed
tfrum opened this issue Apr 1, 2023 · 6 comments
Closed

PEP 660 issue. #107

tfrum opened this issue Apr 1, 2023 · 6 comments

Comments

@tfrum
Copy link

tfrum commented Apr 1, 2023

Running this on Python 3.11.2 in Fedora 37.

At install the -e (-editable) command is dysfunctional.

... 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'm not particularly familiar with PEP 660 or PEP 517 or else I'd just diagnose it myself. Likewise this is apparently a rare enough issue that there's little to go off of. Is there a module I'm missing? I have the wheel module installed.

@jojogh
Copy link

jojogh commented Apr 1, 2023

i have the same problem with you !lack of setup.py

@MentholG
Copy link

MentholG commented Apr 1, 2023

encountered same error

@viktara
Copy link

viktara commented Apr 1, 2023

I had the same issue.

The version of setuptools installed on my system via apt was too new, I had to remove that and install setuptools==58 via pip.

@bigcat133
Copy link

you need to installed setuptools v62.0.0 or newer.
OR
Update pip to the latest version
python3 -m pip install --upgrade pip

@zhisbug
Copy link
Collaborator

zhisbug commented Apr 1, 2023

Yeah, I saw the same problem. Please run pip install --upgrade pip. I add that into README.

@zhisbug zhisbug closed this as completed Apr 1, 2023
@tfrum
Copy link
Author

tfrum commented Apr 1, 2023

Yeah, I saw the same problem. Please run pip install --upgrade pip. I add that into README.

Do we have an explanation for why a previous user reported that downgrading to setuptools v58 worked for them?

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

6 participants