Closed MaihgrUmosch closed 6 days ago
Perhaps this is something to do with not setting up Flake8 correctly... I'm just making sure I have it set up.
Update: I've setup Flake8 and no luck.
@dham is there anything to be done about this, please? I'm a bit stuck and would like to complete chapter-4, if possible.
Hi,
I've tried to run
python -m pip install -e chapter_4
and am getting the following issue.I've tried to make sure that the folder name matches in the directory and the toml but it isn't helping. My web research hasn't revealed any things that might not be set up correctly and I've tried uninstalling and reinstalling 'wheel'. Please could you suggest how I might get around this?
Kind regards, Ben
`Preparing editable metadata (pyproject.toml) ... error error: subprocess-exited-with-error
× Preparing editable metadata (pyproject.toml) did not run successfully. │ exit code: 1 ╰─> [52 lines of output] Traceback (most recent call last): File "/home/.../Programs/principles_of_programming/PoP_venv/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 167, in prepare_metadata_for_build_editable hook = backend.prepare_metadata_for_build_editable ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: module 'hatchling.build' has no attribute 'prepare_metadata_for_build_editable'
note: This error originates from a subprocess, and is likely not a problem with pip. error: metadata-generation-failed
× Encountered error while generating package metadata. ╰─> See above for output.
note: This is an issue with the package mentioned above, not pip. hint: See above for details.`