You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I try to install the package using pip, I met this issue:
Building editable for paper (pyproject.toml) ... error
error: subprocess-exited-with-error
× Building editable for paper (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [22 lines of output]
Traceback (most recent call last):
File "/root/miniconda3/envs/longagent/lib/python3.9/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in
main()
File "/root/miniconda3/envs/longagent/lib/python3.9/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
File "/root/miniconda3/envs/longagent/lib/python3.9/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 273, in build_editable
return hook(wheel_directory, config_settings, metadata_directory)
File "/tmp/pip-build-env-t34ml314/overlay/lib/python3.9/site-packages/poetry/core/masonry/api.py", line 82, in build_editable
return WheelBuilder.make_in(
File "/tmp/pip-build-env-t34ml314/overlay/lib/python3.9/site-packages/poetry/core/masonry/builders/wheel.py", line 88, in make_in
wb.build(target_dir=directory)
File "/tmp/pip-build-env-t34ml314/overlay/lib/python3.9/site-packages/poetry/core/masonry/builders/wheel.py", line 118, in build
self._add_pth(zip_file)
File "/tmp/pip-build-env-t34ml314/overlay/lib/python3.9/site-packages/poetry/core/masonry/builders/wheel.py", line 147, in _add_pth
for include in self._module.includes:
File "/root/miniconda3/envs/longagent/lib/python3.9/functools.py", line 993, in get
val = self.func(instance)
File "/tmp/pip-build-env-t34ml314/overlay/lib/python3.9/site-packages/poetry/core/masonry/builders/builder.py", line 97, in _module
return Module(
File "/tmp/pip-build-env-t34ml314/overlay/lib/python3.9/site-packages/poetry/core/masonry/utils/module.py", line 65, in init
raise ModuleOrPackageNotFound(
poetry.core.masonry.utils.module.ModuleOrPackageNotFound: No file/folder found for package paper
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building editable for paper
Failed to build paper
ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (paper)
Upvote & Fund
We're using Polar.sh so you can upvote and help fund this issue.
We receive the funding once the issue is completed & confirmed by you.
Thank you in advance for helping prioritize & fund our backlog.
The text was updated successfully, but these errors were encountered:
When I try to install the package using pip, I met this issue:
Building editable for paper (pyproject.toml) ... error
error: subprocess-exited-with-error
× Building editable for paper (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [22 lines of output]
Traceback (most recent call last):
File "/root/miniconda3/envs/longagent/lib/python3.9/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in
main()
File "/root/miniconda3/envs/longagent/lib/python3.9/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
File "/root/miniconda3/envs/longagent/lib/python3.9/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 273, in build_editable
return hook(wheel_directory, config_settings, metadata_directory)
File "/tmp/pip-build-env-t34ml314/overlay/lib/python3.9/site-packages/poetry/core/masonry/api.py", line 82, in build_editable
return WheelBuilder.make_in(
File "/tmp/pip-build-env-t34ml314/overlay/lib/python3.9/site-packages/poetry/core/masonry/builders/wheel.py", line 88, in make_in
wb.build(target_dir=directory)
File "/tmp/pip-build-env-t34ml314/overlay/lib/python3.9/site-packages/poetry/core/masonry/builders/wheel.py", line 118, in build
self._add_pth(zip_file)
File "/tmp/pip-build-env-t34ml314/overlay/lib/python3.9/site-packages/poetry/core/masonry/builders/wheel.py", line 147, in _add_pth
for include in self._module.includes:
File "/root/miniconda3/envs/longagent/lib/python3.9/functools.py", line 993, in get
val = self.func(instance)
File "/tmp/pip-build-env-t34ml314/overlay/lib/python3.9/site-packages/poetry/core/masonry/builders/builder.py", line 97, in _module
return Module(
File "/tmp/pip-build-env-t34ml314/overlay/lib/python3.9/site-packages/poetry/core/masonry/utils/module.py", line 65, in init
raise ModuleOrPackageNotFound(
poetry.core.masonry.utils.module.ModuleOrPackageNotFound: No file/folder found for package paper
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building editable for paper
Failed to build paper
ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (paper)
Upvote & Fund
The text was updated successfully, but these errors were encountered: