无法在google datalabs Jupyter noteb上安装openslidepython

2024-10-06 12:04:28 发布

您现在位置:Python中文网/ 问答频道 /正文

我尝试在google datalabs Jupyter笔记本电脑上安装openslide python,使用: !apt get安装python openslide

它一直运行,直到打印出:

   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,然后点击run。上面写着跑步。。。但似乎什么也没发生。 如何在这里安装python openslide?在


Tags: oftogetgoogleaptjupytermbneed
1条回答
网友
1楼 · 发布于 2024-10-06 12:04:28

请您尝试以下包含-y选项的操作吗?在

!apt-get install -y python-openslide

下面是-y选项的定义,该选项来自http://manpages.ubuntu.com/manpages/wily/man8/apt-get.8.html。在

   -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.

相关问题 更多 >