datalab create
. This command can also be executed via the Google Cloud SDK installed on a local machine.
bash
shell. For example, to install MxNetm on Google Cloud Datalab run the following commands:
%bash
apt-get update
apt-get install -y wget python gcc
wget https://bootstrap.pypa.io/get-pip.py &&$ pip install mxnet==0.11.0 python get-pip.py
pip install mxnet==0.11.0
!
before keying in the command. For example, Keras can be installed into SageMaker notebooks by running the code:
!conda install -c conda-forge keras --yes
--yes
forces conda to accept all requirements during installation.