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
× Preparing editable metadata (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [17 lines of output]
Traceback (most recent call last):
File "/home/schnablelab/zji7/.conda/envs/hyena-dna/lib/python3.8/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 35
3, in
main()
File "/home/schnablelab/zji7/.conda/envs/hyena-dna/lib/python3.8/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 33
5, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
File "/home/schnablelab/zji7/.conda/envs/hyena-dna/lib/python3.8/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 18
1, in prepare_metadata_for_build_editable
return hook(metadata_directory, config_settings)
File "/home/schnablelab/zji7/.conda/envs/hyena-dna/lib/python3.8/site-packages/setuptools/build_meta.py", line 463, in prepare_metadata_for_bui
ld_editable
return self.prepare_metadata_for_build_wheel(
File "/home/schnablelab/zji7/.conda/envs/hyena-dna/lib/python3.8/site-packages/setuptools/build_meta.py", line 368, in prepare_metadata_for_bui
ld_wheel
self.run_setup()
File "/home/schnablelab/zji7/.conda/envs/hyena-dna/lib/python3.8/site-packages/setuptools/build_meta.py", line 313, in run_setup
exec(code, locals())
File "", line 14, in
File "/home/schnablelab/zji7/.conda/envs/hyena-dna/lib/python3.8/site-packages/torch/utils/cpp_extension.py", line 25, in
from pkg_resources import packaging # type: ignore[attr-defined]
ImportError: cannot import name 'packaging' from 'pkg_resources' (/home/schnablelab/zji7/.conda/envs/hyena-dna/lib/python3.8/site-packages/pkg_re
sources/init.py)
[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.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
The text was updated successfully, but these errors were encountered:
pip install -e . --no-build-isolation
Obtaining file:///lustre/work/schnablelab/zji7/hyena-dna/flash-attention
Checking if build backend supports build_editable ... done
Preparing editable metadata (pyproject.toml) ... error
error: subprocess-exited-with-error
× Preparing editable metadata (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [17 lines of output]
Traceback (most recent call last):
File "/home/schnablelab/zji7/.conda/envs/hyena-dna/lib/python3.8/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 35
3, in
main()
File "/home/schnablelab/zji7/.conda/envs/hyena-dna/lib/python3.8/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 33
5, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
File "/home/schnablelab/zji7/.conda/envs/hyena-dna/lib/python3.8/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 18
1, in prepare_metadata_for_build_editable
return hook(metadata_directory, config_settings)
File "/home/schnablelab/zji7/.conda/envs/hyena-dna/lib/python3.8/site-packages/setuptools/build_meta.py", line 463, in prepare_metadata_for_bui
ld_editable
return self.prepare_metadata_for_build_wheel(
File "/home/schnablelab/zji7/.conda/envs/hyena-dna/lib/python3.8/site-packages/setuptools/build_meta.py", line 368, in prepare_metadata_for_bui
ld_wheel
self.run_setup()
File "/home/schnablelab/zji7/.conda/envs/hyena-dna/lib/python3.8/site-packages/setuptools/build_meta.py", line 313, in run_setup
exec(code, locals())
File "", line 14, in
File "/home/schnablelab/zji7/.conda/envs/hyena-dna/lib/python3.8/site-packages/torch/utils/cpp_extension.py", line 25, in
from pkg_resources import packaging # type: ignore[attr-defined]
ImportError: cannot import name 'packaging' from 'pkg_resources' (/home/schnablelab/zji7/.conda/envs/hyena-dna/lib/python3.8/site-packages/pkg_re
sources/init.py)
[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.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
The text was updated successfully, but these errors were encountered: