Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

When trying to install basemap package on google cloud datalab's Notebook I get following error. I want to plot a graph but it seems basemap is not installed.

%bash
echo 'Y' | apt-get install python-mpltoolkits.basemap
like image 659
Rohit Kasat Avatar asked Aug 13 '16 19:08

Rohit Kasat


1 Answers

Try running the command again. You may find that the install was successful the first time, but the full output was not shown.

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

Unrelated to your issue, use %%bash instead of %bash. %%<magic> is for cell magic commands, while %<magic> is for line magic commands.

like image 166
Anthonios Partheniou Avatar answered Nov 14 '22 01:11

Anthonios Partheniou