Python 安装QuickUMLS时遇到问题
我正在尝试在Python3.7(Ubuntu操作系统)中为医学NLP安装QuickUMLS。我遵循了本网站链接提供的分步安装指南- 但是,在完成安装之后,我无法使用QuickUMLS()命令实例化matcher对象。弹出以下错误消息Python 安装QuickUMLS时遇到问题,python,nlp,medical,Python,Nlp,Medical,我正在尝试在Python3.7(Ubuntu操作系统)中为医学NLP安装QuickUMLS。我遵循了本网站链接提供的分步安装指南- 但是,在完成安装之后,我无法使用QuickUMLS()命令实例化matcher对象。弹出以下错误消息 matcher = QuickUMLS(quickumls_fp='/home/dileep/QuickUMLS') ---------------------------------------------------------- NameError
matcher = QuickUMLS(quickumls_fp='/home/dileep/QuickUMLS')
----------------------------------------------------------
NameError Traceback (most recent call last)
<ipython-input-4-2c04f59d4b93> in <module>
----> 1 matcher = QuickUMLS(quickumls_fp='/home/dileep/QuickUMLS')
NameError: name 'QuickUMLS' is not defined
这表明了这个错误
ERROR: Cannot unpack file /tmp/pip-unpack-s1k8klso/QuickUMLS.git (downloaded from /tmp/pip-req-build-4f1w2qgm, content-type: text/html; charset=utf-8); cannot detect archive format
ERROR: Cannot determine archive format of /tmp/pip-req-build-4f1w2qgm
在创建QuickUMLS对象之前,请在代码中执行导入语句: 从quickumls导入quickumls matcher=QuickUMLS(QuickUMLS_fp='/home/dileep/QuickUMLS')
ERROR: Cannot unpack file /tmp/pip-unpack-s1k8klso/QuickUMLS.git (downloaded from /tmp/pip-req-build-4f1w2qgm, content-type: text/html; charset=utf-8); cannot detect archive format
ERROR: Cannot determine archive format of /tmp/pip-req-build-4f1w2qgm