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

pip install -e . in Ubuntu 24 and macOs ?! #2

Open
namdroid opened this issue Nov 9, 2024 · 0 comments
Open

pip install -e . in Ubuntu 24 and macOs ?! #2

namdroid opened this issue Nov 9, 2024 · 0 comments

Comments

@namdroid
Copy link

namdroid commented Nov 9, 2024

pip install -e . && pip cache purge

Preparing editable metadata (pyproject.toml) ... error
error: subprocess-exited-with-error

× Preparing editable metadata (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [14 lines of output]
Traceback (most recent call last):
File "/home/dev/miniconda3/envs/viettts/lib/python3.10/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in
main()
File "/home/dev/miniconda3/envs/viettts/lib/python3.10/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
File "/home/dev/miniconda3/envs/viettts/lib/python3.10/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 181, in prepare_metadata_for_build_editable
return hook(metadata_directory, config_settings)
File "/tmp/pip-build-env-b25737ca/overlay/lib/python3.10/site-packages/poetry/core/masonry/api.py", line 43, in prepare_metadata_for_build_wheel
builder = WheelBuilder(poetry)
File "/tmp/pip-build-env-b25737ca/overlay/lib/python3.10/site-packages/poetry/core/masonry/builders/wheel.py", line 62, in init
super().init(poetry, executable=executable)
File "/tmp/pip-build-env-b25737ca/overlay/lib/python3.10/site-packages/poetry/core/masonry/builders/builder.py", line 45, in init
raise RuntimeError(
RuntimeError: Building a package is not possible in non-package mode.
[end of output]

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.

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

1 participant