python - 'poetry install' command fails; *.whl files are not found - Stack Overflow
According to https://github.com/python-poetry/poetry/issues/4163, it seems to be an issue still pending to be resolved.
As a workaround, dumping dependencies to a requirements.txt
file via poetry
:
$ poetry export -f requirements.txt --output requirements.txt --without-hashes
and then installing them via pip
, worked for me:
$ pip install -r requirements.txt
Specifically I found that deleting theAppData\Local\pypoetry\Cache\artifacts
folder (I'm on Windows 10) worked for me. virtualenvs for other projects may be inAppData\Local\pypoetry\Cache\virtualenvs
so you might not want to delete the root cache folder atAppData\Local\pypoetry\Cache
in its entirety.
Không có nhận xét nào:
Đăng nhận xét