我正在尝试使用以下方法在google datalabs Jupyter笔记本上安装openslide-python: !apt-get install 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,然后点击运行。它说跑步......但似乎没有任何事情发生。 如何在这里安装python-openslide? p>
答案 0 :(得分:1)
请您尝试以下包含-y
选项的内容吗?
!apt-get install -y python-openslide
以下是来自http://manpages.ubuntu.com/manpages/wily/man8/apt-get.8.html的-y
apt-get
选项的定义。
-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.