简体   繁体   English

Jupyter笔记本pip安装scispacy

[英]Jupyter notebook pip install scispacy

I am using Jupyter Notebooks and have been trying to install scispacy ( https://allenai.github.io/scispacy/ ).我正在使用 Jupyter Notebooks 并且一直在尝试安装 scispacy ( https://allenai.github.io/scispacy/ )。 Following the instructions I think I have installed scispacy using按照说明,我认为我已经安装了 scispacy

!pip install scispacy

But cannot install the actual package I want en_core_sci_sm ( https://s3-us-west-2.amazonaws.com/ai2-s2-scispacy/releases/v0.4.0/en_core_sci_sm-0.4.0.tar.gz ).但无法安装我想要的实际 package en_core_sci_sm ( https://s3-us-west-2.amazonaws.com/ai2-s2-scispacy/releases/v0.4.0/en_core_g.z ).. The instructions say to use:说明说要使用:

!pip install <download url>

but this returns the error: The syntax of the command is incorrect.但这会返回错误:命令的语法不正确。

try to download the tar.gz first and replace with path to the tar.gz尝试先下载 tar.gz 并替换为 tar.gz 的路径

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM