docker - "debconf: delaying package configuration, since apt-utils is not installed":> google notebooks bash error

标签 docker google-cloud-platform google-cloud-datalab

尝试在 google cloud datalab 的 Notebook 上安装 basemap 包时
我收到以下错误。我想绘制图形,但似乎未安装 basemap 。

%bash
echo 'Y' | apt-get install python-mpltoolkits.basemap

最佳答案

再次尝试运行该命令。您可能会发现第一次安装成功,但未显示完整输出。

>%%bash
>echo 'Y' | apt-get install python-mpltoolkits.basemap

Reading package lists...
Building dependency tree...
Reading state information...
python-mpltoolkits.basemap is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

与您的问题无关,请使用 %%bash而不是 %bash . %%<magic>用于单元魔法命令,而 %<magic>用于行魔术命令。

关于docker - "debconf: delaying package configuration, since apt-utils is not installed":> google notebooks bash error,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/38936260/

相关文章:

docker - Concourse Worker 无法创建容器

google-api - 启用 Google 云日志记录

google-cloud-datalab - 谷歌数据实验室 : how to import pickle

python - 有没有办法将谷歌云存储中的 csv 文件中的数据加载到 datalab 中的单独变量中?

git - 在Docker容器上启动github

python - 哪个生产服务器用于 Cloud Run 中的 Python 应用程序?

go - 如何在本地机器上获取 Google Cloud api (firestore) 的权限

java - 应用程序引擎配置过滤器 : failed to load service

python - 数据实验室 : How to export Big Query standard SQL query to dataframe?

macos - Wercker在MacOS上因PANIC打开文件过多而崩溃