https://zhuanlan.zhihu.com/p/86742343

 

AllenNLP安装

 

1.pip install allennlp

安装完毕报错

RROR: After October 2020 you may experience errors when installing or updating packages. This is because pip will change the way that it resolves dependency conflicts.

We recommend you use --use-feature=2020-resolver to test your packages with the new resolver before it becomes the default.

botocore 1.19.2 requires urllib3<1.26,>=1.25.4; python_version != "3.4", but you'll have urllib3 1.22 which is incompatible.
transformers 3.0.2 requires tqdm>=4.27, but you'll have tqdm 4.23.4 which is incompatible.
spacy 2.3.2 requires tqdm<5.0.0,>=4.38.0, but you'll have tqdm 4.23.4 which is incompatible.

 

那就补一下

pip install urllib3==1.25.4

pip install  -U tqdm

2.

相关文章:

  • 2021-05-18
  • 2022-01-07
  • 2021-09-07
  • 2021-04-12
  • 2021-09-26
  • 2021-07-17
  • 2021-04-28
  • 2021-11-16
猜你喜欢
  • 2022-12-23
  • 2021-11-04
  • 2022-01-24
  • 2021-11-02
  • 2021-09-01
  • 2021-11-24
  • 2022-12-23
相关资源
相似解决方案