question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

poetry goes into infinite loop when trying to install allennlp

See original GitHub issue

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:closed
  • Created 5 years ago
  • Reactions:8
  • Comments:10 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
shunk031commented, May 19, 2020

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 error 1: conflict: no versions of botocore match >1.16.12,<1.17.0 (this line) is displayed, even though the condition derived: botocore (>=1.16.12,<1.17.0) (this line) is specified.

I found that I could avoid this infinite loop by first adding boto3 with poetry add boto3 and then running poetry add allennlp. I don’t think this is a good solution. Any ideas on how to solve this issue?

1reaction
schmmdcommented, Aug 29, 2019

@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 with poetry.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found