按照 github 存储库中的说明安装 medaCy 包时出错

问题描述 投票:0回答:1

我想运行这个命令来安装medaCy的预测和模型训练(稳定版) :

! pip install git+https://github.com/NLPatVCU/medaCy.git

但是我遇到了如下错误:

img1

img2

img3

img4

medaCy 的 github 存储库:https://github.com/NLPatVCU/medaCy

我想运行命令来安装medaCy的预测和模型训练(稳定版),并根据我自己的数据训练模型。 预期工作:

img5

但是我在安装medaCy模型时遇到了错误。版本说明符格式可能存在问题:spacy_lookups_data>=0.0.5<0.2.0

github installation pip nlp package
1个回答
0
投票

MedaCy 库依赖于 Python 3.7 版本。使用 Python 3.7.0 版本工作得很好。安装了 python 3.7 后请按照以下步骤操作:

  1. pip install git+https://github.com/NLPatVCU/medaCy.git
  2. pip install git+https://github.com/NLPatVCU/medaCy_model_clinical_notes.git

output image

© www.soinside.com 2019 - 2024. All rights reserved.