无法在 google 数据实验室 Jupyter 笔记本上安装 openslide-python

Cannot install openslide-python on google datalabs Jupyter notebook

我正在尝试在 google datalabs Jupyter notebook 上安装 openslide-python 使用: !apt-get 安装 python-openslide

它 运行s,直到打印出来:

   Need to get 13.0 MB of archives.
   After this operation, 44.7 MB of additional disk space will be used.
   Do you want to continue? [Y/n]

我在下一个单元格中输入 Y,然后点击 运行。它说 运行ning... 但似乎什么也没有发生。 如何在此处安装 python-openslide?

请您尝试以下包含 -y 选项的方法?

!apt-get install -y python-openslide

这是 http://manpages.ubuntu.com/manpages/wily/man8/apt-get.8.htmlapt-get-y 选项的定义。

   -y, --yes, --assume-yes
       Automatic yes to prompts; assume "yes" as answer to all prompts and
       run non-interactively. If an undesirable situation, such as
       changing a held package, trying to install a unauthenticated
       package or removing an essential package occurs then apt-get will
       abort. Configuration Item: APT::Get::Assume-Yes.