pipenv: Installing from git is broken
Using latest pipenv v2023.9.1
File "/home/beck/.pyenv/versions/3.11.4/lib/python3.11/site-packages/pipenv/project.py", line 1175, in generate_package_pipfile_entry
entry["ref"] = vcs_parts[1].split("#", 1)[0].strip()
~~~~~~~~~^^^
IndexError: list index out of range
I have printed vcs_parts
and its content is:
['git+https://github.com/HazyResearch/flash-attention.git#subdirectory=csrc/rotary']
About this issue
- Original URL
- State: open
- Created 10 months ago
- Comments: 17 (8 by maintainers)
Do you mean the subdirectory fragment? If so, then you are technically not installing the same package, from what I can tell the parent setup.py excludes things in csrc directory among others. What version of torch are you using? I have
torch==1.9.1+cu111
in my virtualenv to triage this project, but it seems to get ignored even when I runpipenv run pip install git+https://github.com/HazyResearch/flash-attention.git@main
so its hard to tell – if I remove the virtualenv and try topip install --system
then it finds my python 3.11 which doesn’t have matching wheels for this version and this version appears to be the latest published windows torch in that repository.