无法在 Colab 中安装 allennlp 0.5.0

问题描述

我想使用 Elmo 的 ElmoEmbedder。

要求: Python 3.6 - 较低版本的 Python 不起作用 AllenNLP 0.5.1 - 计算 ELMo 表示 Keras 2.2.0 - 用于创建 BiLSTM-CNN-CRF 架构

当我安装 allennlp 0.5.0 时,出现这样的错误

ERROR: Could not find a version that satisfies the requirement torch==0.4.0 (from allennlp) (from versions: 0.1.2,0.1.2.post1,0.1.2.post2,1.7.0,1.7.1,1.8.0,1.8.1) ERROR: No matching distribution found for torch==0.4.0

所以我安装了 Torch 0.4.0,但它给了我另一个这样的错误

ERROR: Could not find a version that satisfies the requirement torch==0.4.0 (from versions: 0.1.2,1.8.1) ERROR: No matching distribution found for torch==0.4.0

那么,我如何安装 allennlp 0.5.0?

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)