poetry goes into infinite loop when trying to install allennlp
See original GitHub issue- OS version and name: Arch Linux
- Poetry version: 0.12.10
- Link of a Gist with the contents of your pyproject.toml file: https://gist.github.com/phiresky/2aa90232a59487546a231295965c74cd
Issue
when trying to install allennlp with poetry add allennlp
(0.8.0) it seems to go into an infinite loop of resolving dependencies (20+ minutes, sometimes failing with HTTP connection errors after a while).
Previously (allennlp 0.7.2) poetry completely failed to install allennlp due to too strict dependencies (see here).
Issue Analytics
- State:
- Created 5 years ago
- Reactions:8
- Comments:10 (1 by maintainers)
Top Results From Across the Web
Poetry is...a little quirky. I've seen it go into infinite loops trying ...
I've seen it go into infinite loops trying to resolve projects with, like, 10 dependencies. I'm not really sold on it being better...
Read more >AllenNLP v2.10.1
Installing via pip It's recommended that you install the PyTorch ecosystem before installing AllenNLP by following the instructions on pytorch.org. After that, ...
Read more >python[poetry] installation is getting stuck - Stack Overflow
My problem was that I had my machine set to check an Artifactory server that requires VPN access. I wasn't on the VPN...
Read more >Model Zoo - Deep learning code and pretrained models for ...
ModelZoo curates and provides a platform for deep learning researchers to easily find code and pre-trained models for a variety of platforms and...
Read more >Simple Index
a-lot-of-followers-on-tiktok-free-2022-v-3631 ... a-pandas-ex-obj-into-cell · a-pandas-ex-old-school-for-loop ... bit-torrent-not-downloading-in-hotel
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hi, I faced the same issue too. Here is the log if I ran
poetry add allennlp -vvvv
as Gist:It seems that the installation of the
botocore
package has failed and is in an infinite loop. The issue here is that the error1: conflict: no versions of botocore match >1.16.12,<1.17.0
(this line) is displayed, even though the conditionderived: botocore (>=1.16.12,<1.17.0)
(this line) is specified.I found that I could avoid this infinite loop by first adding
boto3
withpoetry add boto3
and then runningpoetry add allennlp
. I don’t think this is a good solution. Any ideas on how to solve this issue?@gvskalyan that issue was closed in favor of https://github.com/allenai/allennlp/issues/2280. We’re not familiar with
poetry
but we would welcome PRs that make AllenNLP’s dependencies more compatible withpoetry
.