AllenNLP

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.

posted @ 2020-10-22 15:47  Daniel_Lu  阅读(500)  评论(0编辑  收藏  举报