Avoid error using poetry self add to install this plugin:
• Installing poetry-plugin-freeze (1.0.0 /home/aj/code/poetry-plugin-freeze): Failed
ChefBuildError
Backend subprocess exited when trying to invoke build_editable k s Traceback (most recent call last):
File "/home/aj/.local/share/pypoetry/venv/lib/python3.9/site-packages/pyproject_hooks/_in_process/_in_process.py", line 353, in <module>
main() File "/home/aj/.local/share/pypoetry/venv/lib/python3.9/site-packages/pyproject_hooks/_in_process/_in_process.py", line 335, in main json_out['return_val'] = hook(**hook_input['kwargs']) File "/home/aj/.local/share/pypoetry/venv/lib/python3.9/site-packages/pyproject_hooks/_in_process/_in_process.py", line 273, in build_editable return hook(wheel_directory, config_settings, metadata_directory) File "/tmp/tmpagdffqxe/.venv/lib/python3.9/site-packages/poetry/core/masonry/api.py", line 80, in build_editable return WheelBuilder.make_in( File "/tmp/tmpagdffqxe/.venv/lib/python3.9/site-packages/poetry/core/masonry/builders/wheel.py", line 78, in make_in wb = WheelBuilder(
File "/tmp/tmpagdffqxe/.venv/lib/python3.9/site-packages/poetry/core/masonry/builders/wheel.py", line 59, in __init__
super().__init__(poetry, executable=executable)
File "/tmp/tmpagdffqxe/.venv/lib/python3.9/site-packages/poetry/core/masonry/builders/builder.py", line 90, in __init__
self._meta = Metadata.from_package(self._package)
File "/tmp/tmpagdffqxe/.venv/lib/python3.9/site-packages/poetry/core/masonry/metadata.py", line 60, in from_package
with readme.open(encoding="utf-8") as f:
File "/home/linuxbrew/.linuxbrew/opt/python@3.9/lib/python3.9/pathlib.py", line 1252, in open
return io.open(self, mode, buffering, encoding, errors, newline,
File "/home/linuxbrew/.linuxbrew/opt/python@3.9/lib/python3.9/pathlib.py", line 1120, in _opener
return self._accessor.open(self, flags, mode)
FileNotFoundError: [Errno 2] No such file or directory: '/home/aj/code/poetry-plugin-freeze/README.md'
Avoid error using
poetry self add
to install this plugin: