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

install problem #72

Open
agryji08 opened this issue Jun 30, 2024 · 0 comments
Open

install problem #72

agryji08 opened this issue Jun 30, 2024 · 0 comments

Comments

@agryji08
Copy link

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.

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